Re: Logging 0.7.0 (Quixotic Starfish)
- From: Will Sargent <will.sargent@xxxxxxxxx>
- Date: Wed, 20 Feb 2008 16:09:59 -0800 (PST)
On Feb 13, 7:58 am, Tim Pease <tim.pe...@xxxxxxxxx> wrote:
On Feb 12, 2008, at 9:22 PM, James Gray wrote:
On Feb 12, 2008, at 7:21 PM,TimPeasewrote:
1) a rolling file appender than can handle multiple processes logging
to the same file
Forgive my being too lazy to look to night, but what does this
mean? Would this feature make it possible to make something like
Rails logging multiprocess safe?
That is correct. Multiple Rails processes (i.e. mongrel clusters) can
now safely log to the same file, have the file roll, and all the
processes will use the newer log file.
You can also use the Syslog appender in Logging and dump to the syslog
service. This is good for collecting logs from multiple machines.
What's the best way to configure Rails to use Logging? Is there any
documentation for setting it up?
I looked at http://wiki.rubyonrails.org/rails/pages/HowtoConfigureLogging
but it only talks about log4r.
Will.
.
- References:
- [ANN] Logging 0.7.0 (Quixotic Starfish)
- From: Tim Pease
- Re: [ANN] Logging 0.7.0 (Quixotic Starfish)
- From: James Gray
- Re: [ANN] Logging 0.7.0 (Quixotic Starfish)
- From: Tim Pease
- [ANN] Logging 0.7.0 (Quixotic Starfish)
- Prev by Date: Re: Is there any object-oriented File class in ruby ?
- Next by Date: Re: The Smallest Circle (#157)
- Previous by thread: Re: [ANN] Logging 0.7.0 (Quixotic Starfish)
- Next by thread: Re: [ANN] Logging 0.7.0 (Quixotic Starfish)
- Index(es):
Relevant Pages
|
Loading