...
An AEP engine's trace is controlled via the nv.aep trace logger. This logger is used by an AEP engine to output flow of exection type of trace messages during startup, steady state and shutdown.. The amount of information output by the engine is controlled by the logger's trace level. When using the native logger, the default trace level is INFO. DEBUG is the only additional supported trace level and may be used to emit diagnostic trace for troubleshooting. When using SLF4J, the default trace level is as defined by the concrete SLF4J binding used. The trace levels with SLF4J that control trace output are INFO (corresponding to the native INFO trace level) and TRACE (corresponding to the native DEBUG trace level).The nv.aep logger is used to output flow of execution trace messages during startup, steady state and shutdown.
In steady state, the engine uses additional loggers to log other types of trace messages. They are:
- The nv.aep.sno logger that traces the sequence numbers of inbound and outbound messages
- Enabled via
- nv.aep.sno.trace=debug when using native trace logging
- Settng the level of the nv.aep.sno logger to Trace when using SLF4J
- Enabled via
- The nv.aep.event logger that traces events dispatched to an engine
- Enable via
- nv.aep.event.trace=debug when using native trace logging
- Setting the level of the nv.aep.event logger to Trace when using SLF4J
- Enable via
- The nv.aep.alert logger that traces alert events emitted by the engine.
- Enable via
- nv.aep.alert.trace=info when using native trace logging
- Setting the level of the nv.aep.alert logger to WARN when using SLF4J
- Enable via
- The nv.aep.txn logger that traces the execution of transactions within an engine
- Enable via
- nv.aep.txn.trace=debug when using native trace logging
- Setting the level of the nv.aep.txn logger to Trace when using SLF4J
- Enable via
- The nv.aep.msg logger that traces the flow of messages through an engine.
- Enable via
- nv.aep.msg.trace=debug when using native trace logging
- Settingthe level of the nv.aep.msg logger to Trace when using SLF4J
- Enable via
These can be set in Config DDL or via System properties on the command line.
Configuration Settings
Whether or not the engine emits trace is configured by setting the appropriate property in the app config in DDL. Note that when using SLF4J logging that the trace level must be set to Trace for the corresponding logger.
...
By default, when operating in steady state, an AEP engine only outputs warning/error messages and no informational messages . However, the engine can be configured to emit the following types of trace messages:
- Output used to trace the detailed flow of execution of an engine
- Enabled via:
- nv.aep.trace=debug when using the native logger
- Configuring the level of the nv.aep logger to Trace when using SLF4J
- Enabled via:
- Output used to trace the sequence numbers of inbound and outbound messages
- Enabled via
- nv.aep.sno.trace=debug when using the native logger
- Configuring the level of the nv.aep.sno logger to Trace when using SLF4J
- Enabled via
- Output used to trace events dispatched to an engine
- Enable via
- nv.aep.event.trace=debug when using the native logger
- Configuring the level of the nv.aep.event logger to Trace when using SLF4J
- Enable via
- Output used to trace the execution of transactions within an engine
- Enable via
- nv.aep.txn.trace=debug when using the native logger
- Configuring the level of the nv.aep.txn logger to Trace when using SLF4J
- Enable via
- Output used to trace the flow of messages through an engine.
- Enable via
- nv.aep.msg.trace=debug when using the native logger
- Configuring the level of the nv.aep.msg logger to Trace when using SLF4J
- Enable via
as described above in the Trace Loggers and Configuration section above. This section describes the output associated with enabling additional trace logging.
Anchor | ||||
---|---|---|---|---|
|
...