Event and Accounting Logs
7705 SAR OS System Management Guide 233
The following displays an example of the log file ID configuration command syntax:
Example: config# log
config>log# file-id 1
config>log>file-id# description "This is a log file."
config>log>file-id# location cf3:
config>log>file-id# rollover 600 retention 24
The following displays the file ID configuration:
ALU-12>config>log# info
------------------------------------------
file-id 1
description "This is a log file."
location cf3:
rollover 600 retention 24
exit
----------------------------------------------
ALU-12>config>log#
Configuring an Accounting Policy
Before an accounting policy can be created, a target log file must be created to collect the
accounting records. The files are stored in system memory on the compact flash drive in a
compressed (tar) XML format and can be retrieved using FTP or SCP. See Configuring an
Event Log and Configuring a File ID.
Accounting policies must be configured in the config>log context before they can be
applied to a SAP or service interface. For information on associating an accounting policy
with a SAP, see the 7705 SAR OS Services Guide.
An accounting policy must define a record type and collection interval. Only one record type
can be configured per accounting policy.
When creating accounting policies, one service accounting policy can be defined as default.
If statistics collection is enabled on a SAP and no accounting policy is applied, then the
respective default policy is used. If no default policy is defined, then no statistics are collected
unless a specifically defined accounting policy is applied.