Re: [log4perl-devel] Structured logging in log4perl

2013-03-16 Thread Alexander Hartmaier
On Fri, Mar 15, 2013 at 11:29 AM, Dmitry Bigunyak wrote: > Yes, that's actually how I see it, get the raw data, format them to a > certain type and pass to an appender. > As a matter of fact, this is exactly what Layouts allow me to do. I was > wrong saying that they are meant to render strings o

Re: [log4perl-devel] Error when re-initializing log4perl

2013-03-16 Thread Marc Zampetti
The use case is the situation where I don't know what the config file with the logging configuration is yet. So basically, the program does the following: 1. Initializes the logging system as soon as it starts, before anything else, with a basic config that will log to stdout. 2. Process the comma

Re: [log4perl-devel] Error when re-initializing log4perl

2013-03-16 Thread Lee
I don't know the L4p source, but I vaguely recall that someone, years ago, possibly in the Log4perl docs, said that the init method was only intended to implement initialisation, not re-initialisation. I may be wrong — I can't imagine ever calling init() twice, though I did occasionally do it w