1.

How Can You Test If The Syslog Is Logging Messages To /var/adm/syslog/syslog.log?

Answer»

This can be tested using sending a small logger message to syslogd using the command shown as below.

#logger –t hi HELLO

Logger sends a message to syslog and if syslog is WORKING properly a line should GET ADDED to /var/adm/syslog/syslog.log as showing “hi: hello”

This can be tested using sending a small logger message to syslogd using the command shown as below.

#logger –t hi hello

Logger sends a message to syslog and if syslog is working properly a line should get added to /var/adm/syslog/syslog.log as showing “hi: hello”



Discussion

No Comment Found