Starting with 6.3.3 the collector logging has changed in order to separate the collector process related logs from the logs that are related to specific devices.
This release also returns the ability to change debug configuration on-the-fly without
the need to restart the relevant process.
A new folder called “devices” was create to hold the device related logs:
/usr/share/indeni-collector/logs/devices
The device logs have the name .log and the are rolled into .log.x.gz
where x is 1 to 10. By default there is only one rolled up file, which limits the data to short period.
The logback.xml has the following changes:
New section:
<appender name="DEVICES_FILES" class="ch.qos.logback.classic.sift.SiftingAppender">
Change the following to increase the number of rolled files
<maxIndex>1</maxIndex>
New section to enable debug for all device, by default the level is set to INFO
<!-- Sets the default log-level for all the device loggers -->
<logger name="devices" level="DEBUG">
<appender-ref ref="DEVICES_FILES"/>
</logger>
New section to enable log level per device
<!-- Overrides the default log-level for a specific device log -->
<!-- <logger name="device_127.0.0.1" level="DEBUG"/> -->
Add a new line without comments to enable debug
<logger name="device_10.3.3.56" level="DEBUG"/>