There are 3 types of log files:
- system logs, which are managed by system log management mechanisms (rsyslog + logrotate)
logs for BlueMind's Java services, managed by LogBack
The traces generated by Java in these files are on GMT.
I.e. in France, in the Europe/Paris time zone, the time is GMT +1 in the winter and GMT +2 in the summer. To find events that took place at 3pm, you will need to search:
- at 14.00 from late October to late March
- at 13.00 from late March to late October
- internal service logs, managed via the service's configuration
The duration for which the logs are kept depends on the logs management mechanisms. Their configuration can be modified to the desired duration.
Default configuration files are located in the directory
To edit them, copy the file to
/etc/bm/local and edit the copy.
Example of configuration:
The example above, about the mail log file core.log, is used to keep 20 log files of 60MB each maximum.
For more information about configuration, please visit the Log4j website or this documentation: https://logback.qos.ch/manual/appenders.html#RollingFileAppender