Event and Accounting Logs
7705 SAR OS System Management Guide 267
→ mm is the minutes (for example, 30 for 30 minutes past the hour)
→ ss is the number of seconds (for example, 14 for 14 seconds)
• the accounting file is compressed and has a gz extension
When initialized, each file will contain:
• the log-id description
• the time the file was opened
• the reason the file was created
• the sequence number of the last event stored on the log (if the event log file was closed
properly)
If the process of writing to a log file fails (for example, the compact flash card is full), the log file will
not become operational even if the compact flash card is replaced. Enter a clear log command or a
shutdown/no shutdown command to reinitialize the file.
If the location fails (for example, the compact flash card fills up during the write process), a trap is sent.
The no form of the command removes the file ID from the configuration. A file ID can only be
removed from the configuration if the file is not the designated output for a log destination. The actual
file remains on the file system.
Default No default file IDs are defined.
Parameters log-file-id — the file identification number for the file, expressed as a decimal integer
Values 1 to 99
location
Syntax location cflash-id
no location
Context config>log>file-id
Description This command specifies the location where the log or billing file will be created.
The location command is optional. If the location command is not explicitly configured, log and
accounting files will be created on cf3: for the following:
• 7705 SAR-F
• 7705 SAR-M (all variants)
• 7705 SAR-A (all variants)
• 7705 SAR-W
• 7705 SAR-Wx (all variants)
• 7705 SAR-8
• 7705 SAR-H