I would love to be able to do this. I use nginx for access logging so I can feed its "common" logfile format into webalizer, I'm only really interested in the errors on the application side. I suppose I could just set the logger to 'error' level and do it that way.
If you've never seen it, Log4r is a lot more feature-rich than ruby's Logger class and lets you do things like separate files for different levels. I haven't seen a lot of people use it though, so I'm not sure if people are avoiding that project for some reason unknown to me. Kyle Drake Net Brew Design http://www.netbrewdesign.com >>> >>> On 02.02.2009, at 23:49, Julian Leviston wrote: >>> >>>> It'd be wicked - esp in production - to be able to have separate >>>> logs >>>> for error and normal, and the ability to autoroll them and >>>> autoremove >>>> them datewise. >>> >>> >>> like in Nginx? I like the idea, by the way >>> >>> MK >>> >>> >>>> >>> >> >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
