[logback-user] Encoder pattern documentation?

ceki ceki at qos.ch
Sun Nov 6 08:35:58 CET 2011


On 11/6/2011 1:52 AM, Andrew Bourgeois wrote:
> Hello again
> can I find a complete documentation somewhere describing the “pattern”
> property of encoder?
> There are a few examples inside the documentation, but none of them are
> really exhaustive.

Did you have a look at

   http://logback.qos.ch/manual/layouts.html#ClassicPatternLayout

> I was surprised to see the output of:
> pattern = "%d{yyyy-MM-dd HH:mm:ss,SSS} [%t] %-5p - (%c) - %m%n"
> which wasn’t converted by the tools available (from my log4j.properties).

I don't understand. Can you please expand?

> Also... while it’s kind of obvious, I couldn’t find a sentence saying
> “for the Groovy configuration you need ‘groovy-1.8.3.jar’ on your
> classpath”.
> The only thing I found was:
> “|GEventEvaluator|depends on the Groovy runtime. It was tested with
> Groovy version 1.7.2. ” (source: http://logback.qos.ch/setup.html).
> I may also have missed the page explaining it all, let me know if I did.

Groovy support in logback was tested and built with version Groovy 1.7. 
Other than that, there is plenty of Groovy related documentation 
available. It would not be reasonable to repeat that information in 
logback manuals.

-- 
Ceki
http://twitter.com/#!/ceki


More information about the Logback-user mailing list