Logging Configuration Reference
A logging configuration is modeled with nested
Logger
,
AppenderRef
, and
Appender
elements. The
Logger
specifies the name and additivity properties. The
AppenderRef
element specifies the logging level. The
Appender
element references a logging appender.
<Logger xsi:type="amxdata:Logger" name="loggerName" additivity="additivity" > <AppenderRef xsi:type="amxdata:AppenderRef" effectiveLevel="effectiveLevel"> <Appender xsi:type="amxdata_reference:LogAppender_reference" name="appenderName" /> </AppenderRef> </Logger>
Logging Configuration Basic and Advanced Mode
Property | Required? | Editable? | Accepts SVars? | Description |
---|---|---|---|---|
Logger Name | Y | Y | N | The name of the logging configuration. The logging configuration name must be the name of a logger in the source code or the name of the package in which the source code is contained. |
Log Level (FileAppender) | Y | Y | N |
All events of a level equal to or lower than the specified level are logged. For the Info level, Info, Warn, Error and Fatal events are logged. One of:
|
Additivity | Y | Y | N |
One of:
|
Appender | Y | Y | N | The destination to which log events are appended. |
Appender
Property | Required? | Editable? | Accepts SVars? | Description |
---|---|---|---|---|
Name | Y | Y | N | The appenders defined in the enterprise. |