syslog-ng

Prev Next

syslog-ng edit

syslog-ng edit - Change syslog-ng settings.

Description:
syslog-ng edit controls the system logger. All messages are reported into the system logger and they are kept or trashed depending on the system logger level. The system logger also supports remote logging. You can send messages to an external computer.

The different levels for the syslog-ng are:

  1. Emergency : system is unusable
  2. Alert : action must be taken immediately
  3. Critical : critical conditions
  4. Error : error conditions
  5. Warning : warning conditions
  6. Notice : normal, but significant, condition
  7. Info : informational message
  8. Debug : debug-level message

The syslog-ng level you choose enables all messages from the specified level and all messages from lower levels.

When facility is enabled, all messages are logged using the user-defined facility instead of the default ones.

Syntax:

  syslog-ng edit {{level <level>} |
                  {facility {enable|disable} <facility>} |
                  {protocol <protocol>} |
                  {remote-level <level>}
                  }+

Parameters:

Parameter Description
<level> <Emergency|Alert|Critical|Error|Warning|Notice|Info|Debug>
<facility> <LOCAL0|LOCAL1|LOCAL2|LOCAL3|LOCAL4|LOCAL5|LOCAL6|LOCAL7>
<protocol> <legacy|rfc3164|rfc5424>
level Global logging maximum severity level.
facility Enable or disable device facility to log all messages using a user-defined facility instead of the default ones.
protocol Streaming log protocol.
remote-level Severity level of logs being sent to remote logging server.
NOTE: Logs with severity higher than global severity level will not be sent.

syslog-ng remote edit

syslog-ng remote edit - Used to edit syslog-ng remote logging server configuration values.

Description:
syslog-ng remote edit modifies the syslog-ng remote logging server parameters.

Syntax:

  syslog-ng remote edit <remote-id> {{enabled {true|false}} |
                                     {host {<host-name>}} |
                                     {log-type {<log-type>}} |
                                     {port {<port>}} |
                                     {transport {<transport>}} }+

Parameters:

Parameter Description
<remote-id> ID of remote server - {1|2}.
<host-name> <ipv4-address> | <ipv6-address> | <FQHN>
<log-type> <syslog>
<transport> <udp|tcp|tls>
enabled Enables/Disables sending messages to this remote server.
host Domain name or IP of remote logging server.
log-type Type of logging application.
port Port number of remote logging server.
transport Connection protocol used to communicate with remote logging server.

syslog-ng remote show

syslog-ng remote show - Show the syslog-ng remote servers configuration.

Description:
syslog-ng remote show prints remote servers configuration for selected remote server or both remote servers.

Syntax:

  syslog-ng remote show [remote-id]

Parameters:

Parameter Description
<remote-id> Optional ID of remote server - {1|2}.

syslog-ng show configuration

syslog-ng show configuration - Show syslog-ng configuration.

Description:
syslog-ng show prints the syslog-ng configuration.

Syntax:

  syslog-ng show configuration

syslog-ng show log

syslog-ng show log - Show the system log

Description:
syslog-ng show log display the system log.

Syntax:

  syslog-ng show log

syslog-ng show log continuous

syslog-ng show log continuous - Show the system log without page breaks

Description:
syslog-ng show log continuous displays the system log without page breaks. Press CTRL-C to interrupt

Syntax:

  syslog-ng show log continuous

© 2026 Cisco and/or its affiliates. All rights reserved.

For more information about trademarks, please visit:
Cisco trademarks 
For more information about legal terms, please visit:
Cisco legal terms
For legal information about Accedian Skylight products, please visit:  Accedian legal terms and trademarks