Syslog: Sending log from remote servers to syslog daemon

July 23rd, 2008 mysurface

syslog is a standard for logging service in Linux, it usually run as daemon like syslogd or rsyslogd. Syslog daemon will be forward and store logs in /var/log directory, you may configure it to store at separate location if you want. (we will look into it later). And there is a major file that store [...]

Posted in Admin, logger, nc, rsyslogd, syslogd, tail | Hits: 196220 | 3 Comments »

log personal message to /var/log/messages

August 14th, 2006 mysurface

To log personal messages to /var/log/messages when you write script, you can use logger simple example: logger i am testing And check the result with tail, it display last 10 line of messages by default tail /var/log/messages To put more info to log file, you can specified the timestamp with scriptname by this logger -t [...]

Posted in Admin, backquote, logger, tail | Hits: 90475 | 17 Comments »