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??
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---