Warning |
---|
Make sure |
Log level can only be changed for tia Core® products that run in a container. The log levels like debug or trace can produce a huge amount of logs and will have an impact of to the system performance up to afailure a failure of the system.
Configure environment variables:
Code Block |
---|
management.endpoints.web.exposure.include=loggers,health,info,metrics,prometheus
management.endpoint.loggers.enabled=true |
...
Code Block |
---|
curl https://<serverDomain>:<management port>/actuator/loggers/ROOT
{"effectiveLevel":"<level>"} |
...
Log Level | Description |
---|---|
TRACE | only for DEV/TESTsystems TEST systems huge performance impact, very verbose log entries |
DEBUG | only for DEV/TEST, in production for exceptional situations, huge performance impact, verbose log entries |
INFO | default log level, includes many information, recommended for DEV/TEST system |
WARN | only warning and error are logged, very few log entries |
ERROR | only errors are in the log. Recommended for production |