Sysloglogger with multiple logs

Hi all,
I’ve been using SyslogLogger to do standard application logging and
it works great. I want to do my custom application logging to a seperate
log but I’m having problems. I create the default application logger
with SyslogLogger.new (leaving it with the the default application name)
my second instance of the SyslogLogger I pass it the name
custom_app_log. Now in my syslog-ng conf I have 2 seperate filters for
my app, one deafault filter that catches “rails” and the second custom
filter which should catch “custom_app_log”, My default filter works
fine but my custom logging isn’t happening, anybody got ideas about
where I may be going wrong??

After re-reading the documentation, its apparent that the syslogger
can only be initalised with one “progam_name”

John O’gara wrote:

Hi all,
I’ve been using SyslogLogger to do standard application logging and
it works great. I want to do my custom application logging to a seperate
log but I’m having problems. I create the default application logger
with SyslogLogger.new (leaving it with the the default application name)
my second instance of the SyslogLogger I pass it the name
custom_app_log. Now in my syslog-ng conf I have 2 seperate filters for
my app, one deafault filter that catches “rails” and the second custom
filter which should catch “custom_app_log”, My default filter works
fine but my custom logging isn’t happening, anybody got ideas about
where I may be going wrong??