From: ahund@...
Date: 2008-05-06T05:00:08+09:00
Subject: Re: log4r housekeeping
On 23 Apr., 11:36, Col Wilson
wrote:
> Can I getlog4rto change te log filename each day so that it is more
> easily housekept?
Hi Col,
of course you can. Pls use the outputter DateFileOutputter.
Have a look at the files in gems' example directory:
/install_dir/ruby/lib/ruby/gems/1.8/gems/log4r-1.0.5/examples:
yaml.rb & log4r_yaml.yaml.
You can change the logfile name each year or month or day or hour or
minute ...
Cheers
Andreas