Skip to content

Commit

Permalink
Add logger parameters in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
guimard committed Jun 11, 2024
1 parent a19810b commit 63ebd0e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env BASE_URL= \
LDAP_USER= \
LDAP_PASSWORD= \
LDAP_URI= \
LOGGER=error \
LOG_LEVEL=error \
LOG_TRANSPORTS=Console \
MATRIX_SERVER= \
MATRIX_DATABASE_ENGINE= \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ This repository provides a docker image. Here are the environment variables:
* `UPDATE_FEDERATED_IDENTITY_HASHES_CRON` _(default: `3 3 * * *`)_
* Logs:
* `LOG_TRANSPORTS`: set to `Console`
* `LOG_LEVEL`: default to "error", possible values: "error", "warn", "info", "http", "verbose", "debug", "silly"
* `TRUSTED_PROXIES`: IP list of server allowed to set `X-Frowarded-For` header
* Rate limits _(see [express-rate-limit](https://www.npmjs.com/package/express-rate-limit))_:
* `RATE_LIMITING_WINDOW`
Expand Down
2 changes: 2 additions & 0 deletions packages/federated-identity-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ ENV BASE_URL= \
LDAP_USER= \
LDAP_PASSWORD= \
LDAP_URI= \
LOG_LEVEL=error \
LOG_TRANSPORTS=Console \
MATRIX_DATABASE_ENGINE= \
MATRIX_DATABASE_HOST= \
MATRIX_DATABASE_NAME= \
Expand Down
3 changes: 3 additions & 0 deletions packages/federated-identity-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ You can configure it using environment variables:
* `CRON_SERVICE` _(true/false)_: enable ot disable cron tasks. It is required
to have at least one active federated-odentity-service with `CRON_SERVICE`
active per database
* Logs:
* `LOG_TRANSPORTS`: set to `Console`
* `LOG_LEVEL`: default to "error", possible values: "error", "warn", "info", "http", "verbose", "debug", "silly"

A federation server is also a [Matrix Identity Service](matrix-identity-server/README.md),
thus all parameters of this service can also be enabled but this is interseting
Expand Down

0 comments on commit 63ebd0e

Please sign in to comment.