beautypg.com

Disabling system logs, Filtering system log messages – Juniper Networks J-Series User Manual

Page 184

background image

and permissions for the specified log file. For configuration details, see the information
about archiving log files in the JUNOS System Basics Configuration Guide.

Disabling System Logs

To disable logging of the messages from a facility, use the

facility none

configuration

statement. This statement is useful when, for example, you want to log messages of
the same severity level from all but a few facilities. Instead of including a configuration
statement for each facility you want to log, you can configure the

any level

statement

and then a

facility none

statement for each facility you do not want to log. For

configuration details, see the information about disabling logging in the JUNOS System
Basics Configuration Guide
.

Monitoring System Log Messages with the J-Web Event Viewer

You can use the J-Web interface to filter and view system log messages on a Services
Router. To view system log messages, click Events in the J-Web taskbar. (To view
system log messages with the CLI, use the

show log

command.)

Figure 12 on page 162 shows the Filter and Event Summary sections in the View
Events page.

To monitor system log messages with an Event Viewer, perform the following tasks:

Filtering System Log Messages on page 162

Viewing System Log Messages on page 164

Figure 12: View Events Page

ERROR: Unresolved graphic fileref="s020265.gif" not found in

"\\teamsite1\default\main\TechPubsWorkInProgress\STAGING\images\".

Filtering System Log Messages

You can use filters to display relevant events. Table 86 on page 162 describes the
different filters, their functions, and the associated actions. You can apply any or a
combination of the described filters to view the messages that you want to view.

Table 86: Filtering System Log Messages

Your Action

Function

Field

To specify events recorded in a particular file,
select the system log filename from the
list—for example, messages.

Specifies the name of a system log file for which you want to
display the recorded events.

Lists the names of all the system log files that you configure.

By default, a log file,

messages

, is included in the

/var/log/

directory.

For information about how to configure system log files, see
“Sending System Log Messages to a File” on page 160.

System Log
File

162

Monitoring System Log Messages with the J-Web Event Viewer

J-series™ Services Router Administration Guide