Logging

From Hackepedia
Revision as of 01:09, 30 August 2009 by Pbug (talk | contribs) (create a big all file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Logging is meant that some data is passed to the syslog daemon for writing down data for later inspection.

It may be helpful to create a logfile that collects all information for all facilities and levels. On an opensuse system this looks like so:

#
# enable this, if you want to keep all messages
# in one file
*.*                             -/var/log/all  

When viewing this file then one can use tools like grep to filter a keyword.