On 24 July 2014 19:15, Romain Manni-Bucau <[email protected]> wrote:
...

> This doesn't seem that readable for me out of the box and wonder if we
> couldn't enhance default logging format to get a shorter and ligned log
> format (xx-yy-zz aa:bb [thread name on 15 chars max] [ class.method on
> 20chars max] message)
>
> Main point is to get everything aligned and not too wide
>

I like to stick the class.method after the message because for me it is not
that important most of the time. When reading logs, I only look at where it
comes from after I deterimined the line interesting. Even the thread name
can go at the end. for example with log4j:

log4j.appender.main.layout.ConversionPattern=%d:%p\t%m \t- %c%n
2014-07-25 17:41:52,758:WARN Invalid int value: '' -
za.co.enerweb.di.photowall.domain.CSVRecord

Maybe it is just me, that's why it all is configurable :)

Reply via email to