Log Message Formatting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Log Message Formatting

Adrian Crum-3
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
Reply | Threaded
Open this post in threaded view
|

Re: Log Message Formatting

Jacopo Cappellato-4
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 <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: Log Message Formatting

Adrian Crum-3
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 <[hidden email]> 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
>