Configuring System Logging for the Routing Protocol Process

To control how much information the routing protocol process should log, include the options statement.

Include the following form of the statement to log messages for a particular severity level and all higher levels:

routing-options {options syslog upto level;}

Include the following form of the statement to log messages for a particular severity level:

routing-options {options syslog level level;}

For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.

Note: System logging frequently deals with processes logged at the info or notice severity level. Make sure that your regular system logging configurations include the info or notice levels.

Examples: Configuring System Logging for the Routing Protocol Process

Configure the router to log messages of all severities:

[edit]user@host# set routing-options options syslog upto emergency[edit]user@host# showrouting-options {options syslog upto emergency;}

Configure the router to log only alert-level and critical-level messages:

[edit]user@host# set routing-options options syslog level alert critical[edit]user@host# showrouting-options {options syslog alert critical;}