Tim Pease
Tim Pease
On Jun 19, 2011, at 11:20 PM, thirdreplicator wrote: > Feature Request: > > I would like to be able to pass in an :ignore => 'js/compiled' > option in...
I have not pursued the GELF appender at all. We can certainly reuse code from the log4r-gelf project if the license allows it and proper attribution is given.
This feature is up for grabs if anyone would care to implement. It is not something I have the time right now to dig into.
Ah, I see what you're saying here. As the code stands right now, you cannot add colorization to a simple Logger instance created via the `Logging.logger()` method. You are proposing...
I like this idea, and I'm trying to figure out how to do it without incurring a massive runtime penalty for the normal code path. If I'm understanding this concept...
A UDP appender is definitely possible. With an appender, you give it a `Layout` object that will format messages however you desire. Take a look at the [basic layout](https://github.com/TwP/logging/blob/master/lib/logging/layouts/basic.rb) to...
Logging provides the [nested diagnostic context](https://github.com/TwP/logging/blob/master/lib/logging/diagnostic_context.rb#L230-L266) that does exactly this. You can also used the [mapped diagnostic context](https://github.com/TwP/logging/blob/master/examples/mdc.rb) to attach named attributes to each log message. ``` ruby Logging.ndc.push("fact1") {...
The `logging` gem does not enable any log rotation by default. It must be configured manually via the [`RollingFile`](https://github.com/TwP/logging/blob/master/lib/logging/appenders/rolling_file.rb) appender. I'd suggest searching through your code for references to `RollingFile`...
But to answer your original question, you would need to use the `logger.remove_appenders` method to remove the rolling file appender. Then you would have to add a regular file appender...
_How to make `Item` usable within Rails without ActiveModel? As soon as you do some `require 'tire/model'`, you need it._ We are not using `Item` at all with Tire at...