Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Impact of Different Local and Forwarded Severity Levels on System Log Messages on a TX Matrix Plus Router

This topic describes the impact of different local and forwarded severity levels configured for the system log messages on a TX Matrix Plus router:

Messages Logged When the Local and Forwarded Severity Levels Are the Same

When the severity level is the same for local and forwarded messages, the log on the TX Matrix Plus router contains all messages from the logs on the T1600 routers in the routing matrix. For example, you can specify severity info for the /var/log/messages file, which is the default severity level for messages forwarded by T1600 routers:

[edit system syslog]file messages {any info;}

Table 1 specifies which messages in a routing matrix based on a TX Matrix Plus router are included in the logs on the T1600 routers and the TX Matrix Plus router:

Table 1: Example: Local and Forwarded Severity Level Are Both info

Log Location

Source of Messages

Lowest Severity Included

T1600 router

Local

info

TX Matrix Plus router

Local

info

Forwarded from T1600 routers

info

Messages Logged When the Local Severity Level Is Lower

When the severity level is lower for local messages than for forwarded messages, the log on the TX Matrix Plus router includes fewer forwarded messages than when the severities are the same. Locally generated messages are still logged at the lower severity level, so their number in each log is the same as when the severities are the same.

For example, on a TX Matrix Plus router, you can specify severity notice for the /var/log/messages file and severity critical for forwarded messages:

[edit system syslog]file messages {any notice;}host sfc0-master {any critical;}

Table 2 specifies which messages in a routing matrix are included in the logs on the T1600 routers and the TX Matrix Plus router. The T1600 routers forward only those messages with severity critical and higher, so the log on the TX Matrix Plus router does not include the messages with severity error, warning, or notice that the T1600 routers log locally.

Table 2: Example: Local Severity Is notice, Forwarded Severity Is critical

Log Location

Source of Messages

Lowest Severity Included

T1600 router

Local

notice

TX Matrix Plus router

Local

notice

Forwarded from T1600 routers

critical

Messages Logged When the Local Severity Level Is Higher

When the severity level is higher for local messages than for forwarded messages, the log on the TX Matrix Plus router includes fewer forwarded messages than when the severities are the same, and all local logs contain fewer messages overall.

For example, you can specify severity critical for the /var/log/messages file and severity notice for forwarded messages:

[edit system syslog]file messages {any critical;}host sfc0-master {any notice;}

Table 3 specifies which messages are included in the logs on the T1600 routers and the TX Matrix Plus router. Although the T1600 routers forward messages with severity notice and higher, the TX Matrix Plus router discards any of those messages with severity lower than critical (does not log forwarded messages with severity error, warning, or notice). None of the logs include messages with severity error or lower.

Table 3: Example: Local Severity Is critical, Forwarded Severity Is notice

Log Location

Source of Messages

Lowest Severity Included

T1600 router

Local

critical

TX Matrix Plus router

Local

critical

Forwarded from T1600 routers

critical

Published: 2012-11-15

Supported Platforms

Published: 2012-11-15