2009/7/7 Alex Forrow <a...@fav.or.it>: > > We have been using HAProxy very successfully on a busy website for a while > now, sending all logs via syslog to a separate server. > > A single frontend is used to serve all public requests, and currently logs > everything. We would like to just log requests for dynamic pages, is it > possible to have HAProxy selectively log requests, either based on an acl, > or ideally, backend?
Hi Alex, I'm using syslog-ng to achieve this. The local syslog daemon only forwards logs to the central syslog server when certain criteria are matched. Using syslog-ng usually offers very flexible means to meet your logging requirements. -- Jean-Baptiste Quenot http://jbq.caraldi.com/