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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20070119/7b505121/attachment.html>
On Fri, 19 Jan 2007 16:26:38 +0200 "Ioannis Zachariadis" <izach at 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
On Fri, 2007-01-19 at 16:26 +0200, Ioannis Zachariadis 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.* ?If there are user.* messages, I doubt they're coming from Dovecot. What such messages are you seeing? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070119/6da0a877/attachment.bin>