Syslogdfacility – Dell POWEREDGE M1000E User Manual

Page 1061

Advertising
background image

Fabric OS Command Reference

1033

53-1002746-01

syslogdFacility

2

syslogdFacility

Sets or displays the syslog facility.

SYNOPSIS

syslogdFacility [-l level]

DESCRIPTION

Use this command to set the syslog facility to a specified log file, or use this command without operands
to display the current syslog facility. The syslog daemon (syslogd) reads and forwards system messages
to the log file specified by this command. You must configure the servers to receive system messages by
adding them with the syslogdIpAdd command.

NOTES

The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.

OPERANDS

This command has the following operands:

-l level

Specifies the syslog facility. Valid levels are 0 through 7. The default is 7. This
operand is optional; if omitted, the current facility is displayed.

0

LOG_LOCAL0

1

LOG_LOCAL1

2

LOG_LOCAL2

3

LOG_LOCAL3

4

LOG_LOCAL4

5

LOG_LOCAL5

6

LOG_LOCAL6

7

LOG_LOCAL7 (default)

EXAMPLES

To set the syslog facility to LOG_LOCAL1:

switch:admin> syslogdfacility -l 1
Syslog facility changed to LOG_LOCAL1

To display the current setting:

switch:admin> syslogdfacility
LOG_LOCAL1

SEE ALSO

syslogdIpAdd

,

syslogdIpRemove

,

syslogdIpShow

Advertising