Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.4.0 (53-1001764-01, March 2010)
946 Fabric OS Command Reference
53-1001764-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.
Note 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