Skip to content

Commit

Permalink
Make spiceDB log level configurable
Browse files Browse the repository at this point in the history
- Set the default as "debug"
- Make the log level configurable in the deployment template
  • Loading branch information
Rajagopalan-Ranganathan committed Jan 15, 2025
1 parent 0bee1bf commit b18c9b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deploy/kessel-relations-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ objects:
name: ${CLOWDAPP_NAME}-spicedb
spec:
config:
logLevel: debug
logLevel: ${SPICEDB_MIN_LOG_LEVEL}
replicas: ${{SPICEDB_REPLICAS}}
datastoreEngine: postgres
secretName: spicedb-config
Expand Down Expand Up @@ -193,3 +193,6 @@ parameters:
- description: Enable the experimental schema cache which makes use of the Watch API for automatic updates

Check warning on line 193 in deploy/kessel-relations-deploy.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

193:81 [line-length] line too long (108 > 80 characters)
name: SPICEDB_ENABLE_WATCHABLE_SCHEMA_CACHE
value: 'false'
- description: SpiceDB min log level - possible values ("trace", "debug", "info", "warn", "error")

Check warning on line 196 in deploy/kessel-relations-deploy.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

196:81 [line-length] line too long (100 > 80 characters)
name: SPICEDB_MIN_LOG_LEVEL
value: 'debug'

0 comments on commit b18c9b2

Please sign in to comment.