You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Adrian Crum <ad...@sandglass-software.com> on 2014/09/01 10:15:40 UTC

Log Message Formatting

I just discovered what I don't like about the new log format.

I was trying to do a search on a class name so I could see all log 
messages from that class, but the search failed because the new log 
format mangles the class name.

Can we have the full class name back please?

-- 
Adrian Crum
Sandglass Software
www.sandglass-software.com

Re: Log Message Formatting

Posted by Adrian Crum <ad...@sandglass-software.com>.
Thanks Jacopo!

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 9/1/2014 9:34 AM, Jacopo Cappellato wrote:
> In rev. 1621701 I have increased the length of the column to 30 characters (but feel free to play with the log4j2 config); we could even make it unlimited but I think it is useful to have a fixed length format... but open to discuss this as it is a matter of personal preferences, I guess. Please consider that the column contains the logger name (in OFBiz this comes from the "module" field of the various Java classes).
>
> Jacopo
>
> On Sep 1, 2014, at 10:15 AM, Adrian Crum <ad...@sandglass-software.com> wrote:
>
>> I just discovered what I don't like about the new log format.
>>
>> I was trying to do a search on a class name so I could see all log messages from that class, but the search failed because the new log format mangles the class name.
>>
>> Can we have the full class name back please?
>>
>> --
>> Adrian Crum
>> Sandglass Software
>> www.sandglass-software.com
>

Re: Log Message Formatting

Posted by Jacopo Cappellato <ja...@hotwaxmedia.com>.
In rev. 1621701 I have increased the length of the column to 30 characters (but feel free to play with the log4j2 config); we could even make it unlimited but I think it is useful to have a fixed length format... but open to discuss this as it is a matter of personal preferences, I guess. Please consider that the column contains the logger name (in OFBiz this comes from the "module" field of the various Java classes).

Jacopo

On Sep 1, 2014, at 10:15 AM, Adrian Crum <ad...@sandglass-software.com> wrote:

> I just discovered what I don't like about the new log format.
> 
> I was trying to do a search on a class name so I could see all log messages from that class, but the search failed because the new log format mangles the class name.
> 
> Can we have the full class name back please?
> 
> -- 
> Adrian Crum
> Sandglass Software
> www.sandglass-software.com