log4r

A library I maintain, providing an API that closely matches that of log4j

log4r 1.1.5 released

08 Feb 2010
Posted by colby

credit:C G-K

Now available, the 1.1.5 release of log4r (See: http://log4r.rubyforge.org or gem install -r log4r)

Addressed in 1.1.5:
FileOutputter no longer truncates files by default
Syntax fixed up in GDC/NDC classes to work in Ruby 1.9 as well as 1.8

I'm also quite happy about the move to hosting ruby gems at http://gemcutter.org. Its helped me become aware of how widely log4r is a pre-requisite for other software. Since I started new releases last September (2009), it was downloaded over 21,000 times, with the 1.1.4 release on January 12, 2010, downloaded 12,000+ times alone.

*nervous*

log4r 1.1.4 released

12 Jan 2010
Posted by colby

credit:C G-K

Now available, the 1.1.4 release of log4r (See: http://log4r.rubyforge.org or gem install -r log4r)

In this release I added code to implement Nested, Mapped and Global Diagnostic Contexts that work the same as they do in Log4j, see NDC/MDC on http://onjava.com/pub/a/onjava/2002/08/07/log4j.html?page=3 for a deeper explanation. Copied concept of GDC (global name for a program) from an older branch of log4r.

Also fixed in 1.1.4:
Logger.new was not thread safe, it is now
RollingFileOutputter created spurious non-numbered files, now fixed
Errors about null at end of yaml configuration files, now fixed