Setting Logs Types for Reporting (syslog -d logtype)
Function
The syslog -d logtype command is used to set the types of logs to be reported as syslog packets.
Format
ipmcset -t syslog -d logtype -v <destination> <type>
Parameters
Parameter |
Description |
Value |
---|---|---|
destination |
Specifies the number of a syslog reporting channel. |
1 to 4 |
type |
Specifies the types of logs to be reported. |
|
Usage Guidelines
None
Example
# Set the log types for channel 4 to operation and event logs.
iBMC:/-> ipmcset -t syslog -d logtype -v 4 operationlogs eventlogs
Set syslog log type successfully.
# Query the types of logs reported through channel 4.
iBMC:/-> ipmcget -t syslog -d iteminfo
Item Num | state | port | dest address | log type
1 | disabled | 65535 | host | operationlogs securitylogs eventlogs
2 | disabled | 0 | | operationlogs securitylogs eventlogs
3 | disabled | 0 | | operationlogs securitylogs eventlogs
4 | disabled | 0 | | operationlogs eventlogs