The Logger section defines how the Module instance writes diagnostic information to log files. These logs are used to review module startup, runtime activity, communication issues, and troubleshooting events. .png)
Logger parameters
Parameter | Description |
|---|---|
Enabled | Enables or disables log generation for the selected Module instance. When enabled, the module writes log messages to a text file located in the N3uron log directory. Default: Enabled. |
Level | Defines the maximum level of detail written to the module log file. Default: Info. |
Days to keep | Defines how long log files are retained. Log files older than the configured value are automatically deleted. Default: 7 days. |
Available log levels
Level | Description |
|---|---|
Error | Logs only error messages. |
Warning | Logs errors and warnings. |
Info | Logs errors, warnings, and general runtime information. This is the recommended level for normal operation. |
Debug | Logs additional diagnostic information. Use this level temporarily when troubleshooting module behavior. |
Trace | Logs full module activity. This level can generate large amounts of data and should only be enabled for a limited time when detailed diagnostics are required. |
Recommendation:
Use Debug or Trace only while collecting diagnostic evidence. After exporting the required logs, return the Logger level to Info to avoid unnecessary disk usage and excessive log volume.