On Fri, 2005-10-21 at 10:34 -0700, Nate Campi wrote:
On Fri, Oct 21, 2005 at 12:34:12PM -0400, Mike wrote:
It would be very nice to have per-destination RECEIVED stats as well in 1.9.x.
More and more large scale syslog deployments are happening all the time and syslog-ng arguably has the most mindshare when people think of deploying syslog. Having advanced statistics in the 1.9/2.0 branch would steer people to the new branch sooner and get it better tested, IMHO.
I liked the idea, and thus went ahead and implemented it in the development branch. Syslog-ng generates a log message every once in a while as specified in stats_freq. The format of the log message is: <45>2005-10-22T23:38:14.567570+02:00 s_udp@bzorp syslog-ng[6871]: Log statistics; dropped='program(/bin/cat)=0', dropped='tcp(AF_INET(127.0.0.1:2001))=0' The patch has been commited to my private branch and the snapshot to be generated in half an hour will contain it :) -- Bazsi