HP-UX AAA Server A.08.02 Administrator's Guide

The above session record will also include any additional A-V pairs that were included in an
Accounting-Request message. The attribute value pair displayed above may differ depending on
the server configuration.
NOTE: Merit is the default logging format.
Changing the Accounting Log Filename
1. Open the log.config configuration file (found in /etc/opt/aaa by default).
2. Locate the following lines, which should be found at the beginning of the file:
# Default logging configuration if there is no log.config file.
#
stream *default* {
aatv log_v2_0
buffer 1
close on
filename session.%Y-%m-%d.log
update 900
wrap 3
}
end
3. Change session.%Y-%m-%d.log to the filename syntax you wish to use.
4. Save and close the file.
5. Restart the server if it is currently running.
Changing the Accounting Log Rollover Interval
The log rollover interval (how often a new log file is created to store accounting records) is
determined by the timestamp portion of the filename. To change the interval follow the steps in
“Changing the Accounting Log Filename (page 105). The logging interval will change to the smallest
unit of time in the timestamp portion of the filename. For example,%Y-%m-%d-%H, will change the
rollover interval to hourly.
Rolling Over the Log File and Accounting Stream and Setting the Log Level
You can roll over the server log file and accounting stream and set the log level using the
radsignal command as follows:
radsignal [-h] [-v] [[-di ipcdir] pid level ] [[-di ipcdir] pid roll
logfile ] [[-di ipcdir] pid roll stream [stream-name]] [[-di ipcdir]
log level msg_type msg_sub_type log_level ]
Where:
pid The process ID of radiusd. This can be determined with the
command
% ps -eaf | grep radiusd.
level One of the following debug levels to set: 0 Debug logging disabled.
1 Minimal information. 2 Level 1 information, high-level FSM output
and some function tracing. 3 Level 2 information and complete
function tracing. 4 Level 3 information along with low-level FSM and
configuration file output.
roll Immediately roll the log file or an accounting stream. This should be
used along with the keywords logfile or stream.
logfile The AAA Server log file.
Accounting Log Files 105