syslon-ng temote logging
Hello. I have some trouble - all my mail logs send to local syslog-ng on server, that put it into file /var/log/maillog and send to remote logger by udp, then remote logging server dies, local syslog-ng buffers logs some time, after that - system has very big lavg. Is that possible to drops some logs if the destination server not available? -- Vasiliy G Tolstov <v.tolstov@selfip.ru> Selfip.Ru
Hi, On Mon, Nov 2, 2009 at 8:51 AM, Vasiliy G Tolstov <v.tolstov@selfip.ru> wrote:
Hello. I have some trouble - all my mail logs send to local syslog-ng on server, that put it into file /var/log/maillog and send to remote logger by udp, then remote logging server dies, local syslog-ng buffers logs some time, after that - system has very big lavg.
Is that possible to drops some logs if the destination server not available?
syslog-ng should work exactly this way. However there was an issue with syslog-ng 2.x and 3.x releases where syslog-ng enters a busy loop when a remote UDP destination goes down. This has been fixed recently in git commit #e4136cb1f6ac507cf265cb3614af170c301e4a88 Regards, Sandor
participants (2)
-
Sandor Geller
-
Vasiliy G Tolstov