A DispatchLogger is a LogListener that routesLogEvents to other LogListeners based on the types of those LogEvents. For example, you may wish to send ErrorLogEvents to an EmailLogger, while all other log event types are sent to a file.

A DispatchLogger is configured with the following properties:

logEvents=\
        atg.nucleus.logging.ErrorLogEvent,\
        atg.nucleus.logging.WarningLogEvent
logDestinations=\
        SysadminPager,\
        SysadminEmailer
defaultDestinations=\
        FileLogger
logEvents=\
                   InfoLogEvent,\
                   InfoLogEvent
logDestinations=\
                  /logging/infoListener1,\
                  /logging/infoListener2
logEvents=\
                   InfoLogEvent,\
                   FooLogEvent
logDestinations=\
                  /logging/infoDispatchLogger2,\
                  /logging/fooListener
defaultDestinations=\
                  /logging/infoListener1,\
                  /logging/infoListener2
 
loading table of contents...