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;
- }
For a list of hierarchy levels at which you can configure 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. |
Configure the router to log messages of all severities:
- [edit]
- user@host# set routing-options options syslog
upto emergency
- [edit]
- user@host# show
- routing-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
alert critical
- [edit]
- user@host# show
- routing-options {
- options syslog alert critical;
- }