Logging
Logging settings control minimum detail by subsystem and optional file output.
LEVEL Enumeration
LEVEL specifies a logging priority:
| Value | Description |
|---|---|
debug | Lowest priority. Normally turned off. |
info | Default logging priority. |
warning | Higher priority than info. |
error | High-priority messages. A smoothly running system should not generate error-level messages. |
critical | Highest-priority errors that require special attention. |
off | Disables logging. |
LEVELS Object
The LEVELS object sets a minimum detail level for each activity type.
| Field | Type | Description |
|---|---|---|
app | LEVEL | Application events. |
daq | LEVEL | Data acquisition events. |
com | LEVEL | Communication events. |
FILES Object
The FILES object configures log output in the local filesystem.
| Field | Type | Description |
|---|---|---|
enable | Boolean | Enables or disables file logging. |
dir | Directory path string | Directory where log files are stored. |
filename | File path string | Base name used for log files. |
CONFIG Object
The CONFIG object combines logging settings.
| Field | Type | Description |
|---|---|---|
levels | LEVELS | Logging priorities by activity type. |
files | FILES | File logging settings. |