Skip to content

Commit

Permalink
Merge branch 'RESTAPI-remove-debug-kibana-logs-on-demo' into 'master'
Browse files Browse the repository at this point in the history
Disabled kibana and debug logs on demo

See merge request firecrest/firecrest!326
  • Loading branch information
Ivano Bonesana committed Nov 15, 2024
2 parents c969a85 + 8482a7d commit f51384a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy/demo/common/common.env
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ F7T_AUTH_ALGORITHMS=RS256
# AUTHENTICATION ROLE for FirecREST Service Accounts
F7T_AUTH_ROLE='firecrest-sa'
# DEBUG FLAG
F7T_DEBUG_MODE=True
F7T_DEBUG_MODE=False
# KIBANA LOG
F7T_LOG_KIBANA=True
F7T_LOG_KIBANA=False
# LOG TYPE
F7T_LOG_TYPE='file'
#-------
Expand Down
4 changes: 2 additions & 2 deletions deploy/k8s/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ F7T_UTILITIES_PORT: "5004"
global:
environment: "dev"
include_reservations: true
F7T_DEBUG_MODE: true
F7T_DEBUG_MODE: false
F7T_LOG_TYPE: "stdout"
F7T_LOG_KIBANA: true
F7T_LOG_KIBANA: false
F7T_GATEWAY_HOST: "svc-kong"
F7T_GATEWAY_PORT: "8000"
F7T_SWAGGER_HOST: "http://svc-openapi"
Expand Down
1 change: 1 addition & 0 deletions doc/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ The most complete way of installing is to setup 3 hosts:
|`F7T_SSL_CRT` | Only if `F7T_SSL_ENABLED=True` | `''` | Path to the SSL Certificate Key for exposing the container with HTTPS protocol (recommended). | `Backend`, `Certificator` |
|`F7T_SSL_KEY` | Only if `F7T_SSL_ENABLED=True` | `''` | Path to the SSL Public Key for exposing the container with HTTPS protocol (recommended). Only used if `F7T_SSL_ENABLED=True` | `Backend`, `Certificator` |
|`F7T_DEBUG_MODE` | NO | `False` | Set to `True` to log debug type information | `Backend` |
|`F7T_LOG_KIBANA` | NO | `False` | Set to `True` to log enable [ELK stack](https://www.elastic.co/elastic-stack) JSON log formatting | `Backend` |
|`F7T_LOG_PATH` | NO | `/var/log` | Directory path in container's filesystem where the logs will be stored | `Backend` |
|`F7T_LOG_TYPE` | NO | `file` | Type of logs. Valid values are `file` and `stdout` | `Backend` |
|`F7T_GUNICORN_LOG` | NO | `--error-logfile ${F7T_LOG_PATH}/<service>.gunicorn.log` | Logs configuration for Gunicorn Web Server (the server used to expose microservice's containers), Set to empty for stdout output. For more information please refer to [Gunicorn Settings](https://docs.gunicorn.org/en/stable/settings.html) | `Backend`|
Expand Down

0 comments on commit f51384a

Please sign in to comment.