Configuring System Log Messages With A Configuration Editor; Sending System Log Messages To A File; Sending System Log Messages To A User Terminal; Archiving System Logs - Juniper J-Series Administration Manual

Juniper networks router administration guide
Hide thumbs Also See for J-Series:
Table of Contents

Advertisement

J-series
Services Router Administration Guide

Configuring System Log Messages with a Configuration Editor

This section contains the following topics:

Sending System Log Messages to a File

You can direct system log messages to a file on the compact flash. The default
directory for log files is
flash, include the complete pathname. For the list of logging facilities and severity
levels, see Table 81 on page 157 and Table 82 on page 158.
For information about archiving log files, see "Archiving System Logs" on page 161.
The procedure provided in this section sends all security-related information to the
sample file named
To send messages to a file:
1.
2.
3.
Table 84: Sending System Log Messages to a File
Task
Navigate to the Syslog level in the
configuration hierarchy.
Create a file named
, and
security
send log messages of the
class at the severity
authorization
level
to the file.
info
160

Configuring System Log Messages with a Configuration Editor

Sending System Log Messages to a File on page 160
Sending System Log Messages to a User Terminal on page 161
Archiving System Logs on page 161
Disabling System Logs on page 162
/var/log
.
security
Navigate to the top of the configuration hierarchy in either the J-Web or CLI
configuration editor.
Perform the configuration tasks described in Table 84 on page 160.
If you are finished configuring the network, commit the configuration.
J-Web Configuration Editor
1.
In the J-Web interface, select
Configuration>View and Edit>Edit
Configuration.
2.
Next to System, click Configure or Edit.
3.
Next to Syslog, click Configure or Edit.
1.
Next to File, click Add new entry.
2.
In the File name box, type
3.
Next to Contents, click Add new entry.
4.
In the Facility list, select authorization.
5.
In the Level list, select info.
. To specify a different directory on the compact
CLI Configuration Editor
From the
enter
edit system syslog
Set the filename and the facility
and severity level:
.
security
set file security authorization info
hierarchy level,
[edit]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents