Re: [log4perl-devel] Structured logging in log4perl

2013-03-17 Thread Mike Schilli
On Fri, 15 Mar 2013, Dmitry Bigunyak wrote: > That brings me to the idea of having a chain of layout (in current > terminology) when you get an actual result passed through a number of > layouts and formatted in each of them accordingly. Have you looked at composite appenders yet? http:/

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] Structured logging in log4perl

2013-03-15 Thread Lee
Sorry to reply to such a long and thoughtful e-mail with a URI, but do you think being given access to the raw data would give you sufficient means to format it? http://log4perl.sourceforge.net/releases/Log-Log4perl/docs/html/Log/Log4perl/FAQ.html#e8a46 Could you then forward the formatted data

Re: [log4perl-devel] Structured logging in log4perl

2013-03-15 Thread Dmitry Bigunyak
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 only. If fact you get an array ref with all raw data inside the r

[log4perl-devel] Structured logging in log4perl

2013-03-14 Thread Dmitry Bigunyak
Hi there! I was searching the mailing-list history but didn't find any topics related to the subject I'd like to discuss. Maybe I didn't look close enough, sorry if so. Anyway, the subject I want to discuss is how to use log4perl for structured logging. There are a couple of modules on CPAN rela