Zum Hauptinhalt springen

Logging

Logging settings control minimum detail by subsystem and optional file output.

LEVEL Enumeration​

LEVEL specifies a logging priority:

ValueDescription
debugLowest priority. Normally turned off.
infoDefault logging priority.
warningHigher priority than info.
errorHigh-priority messages. A smoothly running system should not generate error-level messages.
criticalHighest-priority errors that require special attention.
offDisables logging.

LEVELS Object​

The LEVELS object sets a minimum detail level for each activity type.

FieldTypeDescription
appLEVELApplication events.
daqLEVELData acquisition events.
comLEVELCommunication events.

FILES Object​

The FILES object configures log output in the local filesystem.

FieldTypeDescription
enableBooleanEnables or disables file logging.
dirDirectory path stringDirectory where log files are stored.
filenameFile path stringBase name used for log files.

CONFIG Object​

The CONFIG object combines logging settings.

FieldTypeDescription
levelsLEVELSLogging priorities by activity type.
filesFILESFile logging settings.