mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Added / amended env vars in docs example for Google Cloud Logging (#11336)
* Added missing data field to sessions yaml
* rebased sessions.yaml
* Added complete GCP logging env vars to example
* Revert "Added complete GCP logging env vars to example"
This reverts commit eb9f95556b.
* Added correct env vars for GCP cloud logging
This commit is contained in:
@@ -164,13 +164,25 @@ ADMIN_PASSWORD="localpassword"
|
||||
|
||||
KEY="secretkey"
|
||||
SECRET="secret"
|
||||
|
||||
####################################################################################################
|
||||
## Google Cloud Logging
|
||||
|
||||
LOG_STYLE="raw"
|
||||
LOGGER_LEVELS="trace:DEBUG,debug:DEBUG,info:INFO,warn:WARNING,error:ERROR,fatal:CRITICAL"
|
||||
LOGGER_MESSAGE_KEY="message"
|
||||
|
||||
####################################################################################################
|
||||
## With this setting you can set the level at which requests are logged
|
||||
|
||||
LOGGER_HTTP_USE_LEVEL="debug"
|
||||
```
|
||||
|
||||
Notes:
|
||||
|
||||
- the value of `connectionName` from step 11 should be prefixed with `/cloudsql/` as the value of `DB_HOST`
|
||||
- `LOGGER_LEVELS` is optional, but makes Directus logs show up with correct level in Google Cloud Logging.
|
||||
- Google Cloud Logging variables are optional, but they make Directus logs show up with correct level in Google Cloud
|
||||
Logging.
|
||||
|
||||
13. Build your container Run these commands.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user