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:

  • TRACE: All events.

  • DEBUG: Fine-grained informational events used for debugging an application.

  • INFO: Coarse-grained informational messages that highlight the progress of the application.

  • WARN: Potentially harmful events.

  • ERROR Errors that allow the application to continue running.

  • FATAL: Errors that cause the application to fail.

  • OFF: Blocks passing messages to a parent

Additivity Y Y N

One of:

  • true: Log messages are passed to the parent logging configuration.

  • false: Log messages are not passed to the parent logging configuration.

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.