-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The environment variable "CYGNUS_LOG_LEVEL" does not work #2286
Comments
When cygnus starts you can change log level using API: |
@AlvaroVega I understand how to change the log level using the API. |
I reckon there is a bug |
Fixed by PR #2287 @ctc-watanabe could you test (using the |
@AlvaroVega version: "3"
services:
orion:
container_name: orion
image: fiware/orion:3.7.0
links:
- mongo
ports:
- "1026:1026"
command: -dbhost mongo -logLevel DEBUG
cygnus:
container_name: cygnus
image: telefonicaiot/fiware-cygnus:latest
links:
- mongo
expose:
- "5080"
ports:
- "5051:5051"
- "5080:5080"
environment:
- CYGNUS_MONGO_HOSTS=mongo:27017
- CYGNUS_API_PORT=5080
- CYGNUS_SERVICE_PORT=5051
- CYGNUS_MONGO_SERVICE_PORT=5051
- CYGNUS_LOG_LEVEL=DEBUG
sth:
container_name: sth
image: fiware/sth-comet:2.10.0
depends_on:
- "mongo"
links:
- mongo
ports:
- "8666:8666"
environment:
- STH_HOST=0.0.0.0
- DB_URI=mongo:27017
mongo:
container_name: mongo
image: mongo:4.4 The log is as follows:
I look forward to the next update. |
Hi, I have a question about the log settings for Cygnus version 3.
It seems that the "CYGNUS_LOG_LEVEL" environment variable is not working for Cygnus version 3.
When "DEBUG" is set to "CYGNUS_LOG_LEVEL" in the above configuration, the DEBUG log is not output and only the WARN log is output.
If the image used is switched to "fiware/cygnus-ngsi:2.20.0", the DEBUG log is output.
Please let me know if there is any mistake in the settings.
Thank you in advance.
The text was updated successfully, but these errors were encountered: