[rt-users] Another Stupid Question

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Mar 30 11:10:23 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/03/2010 15:51:35, Brian Lawson wrote:
> I'm not versed on the syslog filtering options.  I would like to see
> multiple types of logs, but hopefully have them in their own individual
> files so I don't have to parse through a single file.  But even if I
> wanted them all to log to a single file (eg. the syslog), the last one
> wins, so how can I get the debug, error, and info logs to all log to the
> syslog?

You are confused.  First of all, the values 'debug', 'error', 'info' are
levels: what you get in the log is everything of the named level or
above.  So, if you choose 'debug' (the lowest level) you'll
automatically get all of the 'error' and 'info' stuff as well.
Conversely, if you choose 'error' (the highest of the levels listed),
you'll *not* get the lower level 'debug' or 'info' messages.

You should also look at /etc/syslog.conf which controls where the system
writes the logged data to.  Typically you should find everything goes to
at least one log file -- /var/log/all.log or /var/log/message or various
other possibilities depending on OS and distro.  You can use syslog.conf
to filter messages by log level or various other criteria.  You can even
arrange for data to be logged to a separate server on your network.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuyFF8ACgkQ8Mjk52CukIxhywCeLb/JaawURfjNSu3KLOr8gk5D
8NwAoI/rXamf9ufCXDS4ZRS4m0IoumfD
=QGwW
-----END PGP SIGNATURE-----



More information about the rt-users mailing list