19 Jan
2007
19 Jan
'07
4:51 p.m.
On Fri, 19 Jan 2007 16:26:38 +0200 "Ioannis Zachariadis" izach@forthnet.gr wrote:
I use the syslog facility for logging purposes. I was wondering if there is a way to redirect all logs to mail.* For example, there are user.* messages.. can I change all of them to mail.* ?
thanks.
giannis.
Not an exact solution but syslog can be told to filter logs but the application they come from also (at least on FreeBSD).
!myappname *.* /var/log/myapp.log
You could use this to achieve what you wish, although there might be a better way I don't know about.
HTH, Dom