Specifies an optional Perl hook that will is used to alter the
format of the accounting log file from the standard radius format when
defined. The hook must return the formatted accounting record. A newline
will be automatically appended. By default no hook is defined and
AcctLogFileFormat or the default format is used. The hook parameter is the
reference to the current request.
See
goodies/logformat.cfg for a sample configuration file
with JSON format.
Tip
Consider installing
Cpanel::JSON::XS or JSON::XS for
higher performance JSON encoding.