Log Command Reference
266
7705 SAR OS System Management Guide
Log File Commands
file-id
Syntax
[
no
]
file-id
log-file-id
Context
config>log
Description
This command creates the context to configure a file ID template to be used as a destination for an
event log or billing file.
This command defines the file location and characteristics that are to be used as the destination for a
log event message stream or accounting and billing information. The file defined in this context is
subsequently specified in the
to
command under
log-id
or
accounting-policy
to direct specific logging
or billing source streams to the file destination.
A file ID can only be assigned to either one
log-id
or one
accounting-policy
. It cannot be reused for
multiple instances. A file ID and associated file definition must exist for each log and billing file that
must be stored in the file system.
A file is created when the file ID defined by this command is selected as the destination type for a
specific log or accounting record. Log files are collected in a “log” directory. Accounting files are
collected in an “act” directory.
The file names for a log are created by the system as summarized in
where:
•
ll
is the
log-id
•
aa
is the accounting
policy-id
•
ff
is the
file-id
•
the timestamp is the actual timestamp when the file is created. The format for the timestamp
is yyyymmdd-hhmmss, where:
→
yyyy is the year (for example, 2007)
→
mm is the month number (for example, 12 for December)
→
dd is the day of the month (for example, 03 for the 3rd of the month)
→
hh is the hour of the day in 24-hour format (for example, 04 for 4 a.m.)
Table 32: Log File Names
File Type
File Name
Log File
log
llff
-timestamp
Accounting File
act
aaff
-timestamp
Summary of Contents for 7705 SAR
Page 10: ...List of Figures 10 7705 SAR OS System Management Guide...
Page 14: ...About This Guide 14 7705 SAR OS System Management Guide...
Page 64: ...Security Configuration Procedures 64 7705 SAR OS System Management Guide...
Page 168: ...Configuration Notes 168 7705 SAR OS System Management Guide...
Page 354: ...Standards and Protocol Support 354 7705 SAR OS System Management Guide...
Page 356: ...2015 Alcatel Lucent All rights reserved 3HE 09688 AAAA TQZZA Edition 01...