3.19.1. Filename Previous topic Parent topic Child topic Next topic

This specifies the name of the log file. The file name can include special characters. For more information, see Section 3.1. Special characters. The default value is %L/logfile, a file named logfile in LogDir. For more information, see Section 3.5.12. LogDir. Special character %0 is replaced by the priority integer and %1 by the log message.
Here is an example of using Filename:
# Log file goes in /var/log, with year number
Filename /var/log/%Y-radius.log
If Filename starts with a vertical bar character |, the rest of the filename is assumed to be a program to which the output is to be piped. Otherwise the output is appended to the named file.
# Pipe to my-log-prog
Filename |/usr/local/bin/my-log-prog