You can configure the saving of logs for getting detailed information about the state of the Platform or its services.
There are 5 levels of logging: DEBUG
, INFO
, WARNING
, ERROR
, and CRITICAL
.
By default, after first installation an INFO
level is set for all services.
You can configure logging levels for each platform service individually, or specify global setting for all services:
logging.level
- global setting for all services;f.engine.logging.level
- setting for f.engine
service;f.background.logging.level
- setting for f.background
service (f.e. work of parsers);f.convey.logging.level
- setting for f.convey
service.To set the logging level, perform the following steps:
/opt/hw-fh/config/user.ini
(root privileges required);Add the following parameters to the [main]
section and indicate one of the values (DEBUG
, INFO
, WARNING
, ERROR
, or CRITICAL
), examples:
[main]
f.engine.logging.level = DEBUG
f.background.logging.level = ERROR
f.convey.logging.level = WARNING
f.engine
service and INFO
level for all other services:[main]
logging.level = INFO
f.engine.logging.level = DEBUG
To apply changes, run the command:
/opt/hw-fh/bin/reconfig