3.31.24. AcctLog Previous topic Parent topic Child topic Next topic

This specifies that the Handler is to log all accounting messages with an <AcctLog> clause that is defined elsewhere. The argument must specify the Identifier of the AcctLog clause to use. The AcctLog clause may be defined anywhere else: at the top level, or in a Realm or Handler clause. You can have as many AcctLog parameters as you wish. They will be used in the order that they appear in the configuration file in the same way as <AcctLog xxxxxx> clauses.
Tip
This is a convenient way to reuse the same authentication logger for many Realms or Handlers.
<AcctLog xxxxxx>
      Identifier myacctlogidentifier
      ....
</AuthLog>
<Handler xxxxxx>
      # This logs through the AcctLog defined above
      AcctLog myacctlogidentifier
</Handler>