[an error occurred while processing this directive][an error occurred while processing this directive]

Log Information to a Remote Host

Action

To log messages to a remote host, follow these steps:

  1. In configuration mode, go to the following hierarchy level:
    [edit] user@host# edit system syslog
  2. Configure the host, facility, and level:
    user@host# set host hostname facility level

    For example:

    [edit system syslog] user@host# set host junipero.berry.net daemon info
  3. Verify the configuration:
    user@host# show

    For example:

    [edit system syslog] user@host# show host junipero.berry.net daemon info;
  4. Commit the configuration:
    user@host# commit

For information on logging facilities and severity levels supported by the JUNOS software, see JUNOS System Logging Facilities and System Log Message Severity Levels.


Published: 2010-01-25

[an error occurred while processing this directive]