HP-UX AAA Server A.07.01 Administrator's Guide
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 137). 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
You can roll over the server log file and accounting stream 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]]
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.
stream stream-name The AAA server accounting stream. If stream-name is
not specified then the default stream ( *default* ) will
be used. This should be used along with the keyword
roll.
radsignal has the following options:
-h
Displays a help message.
-v
Displays version information.
-di ipcdir
The directory where the radiusd shared memory files are located. If
omitted, the default is /var/opt/aaa/ipc.
See the radsignal man page for more information.
138 Logging and Monitoring