Alcatel-Lucent 7705 SAR-8 System Management Manual page 254

Service aggregation router os
Table of Contents

Advertisement

Log Command Reference
When initialized, each file will contain:
If the process of writing to a log file fails (for example, the compact flash card is full) and if a backup
location is not specified or fails, 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 primary location fails (for example, the compact flash card fills up during the write process), a
trap is sent and logging continues to the specified backup location. This can result in truncated files in
different locations.
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
file-id — the file identification number for the file, expressed as a decimal integer
location
Syntax
location cflash-id
no location
Context
config>log>file file-id
Description
This command specifies the primary 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: without overflow onto other devices.
When multiple location commands are entered in a single file ID context, the last command
overwrites the previous command.
When the location of a file ID that is associated with an active log ID is changed, the log events are
not immediately written to the new location. The new location does not take affect until the log is
rolled over, either because the rollover period has expired or a clear log log-id command is entered to
manually roll over the log file.
Page 254
the accounting file is compressed and has a gz extension
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)
Values
1 to 99
7705 SAR OS System Management Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

7705 sar-f7705

Table of Contents