Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


file (QFabric System)


Hierarchy Level


Configure the logging of system messages to a file.



Class of messages to log. To specify multiple classes, include multiple facility severity statements.


Filename that you specify with the show log command.

  • Default: Filename messages


Severity of the messages that belong to the facility specified by the paired facility name. Messages with severities at the specified level and higher are logged.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 11.3.