[logback-user] Encoder pattern documentation?
Andrew Bourgeois
andrew.bourgeois at hotmail.com
Sun Nov 6 09:25:49 CET 2011
Ceki,
> Did you have a look at
>
> http://logback.qos.ch/manual/layouts.html#ClassicPatternLayout
Great, thanks!
> I don't understand. Can you please expand?
I'm just saying that the tools on the LOGBack website don't convert
patterns.
It left my LOG4J pattern intact, but the results were kind of "unexpected"
at runtime.
> 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.
It's not that obvious for those that never used Groovy, but fair enough, you
get an error at runtime without the required JAR.
Best regards
Andrew Bourgeois
-----Original Message-----
From: ceki
Sent: Sunday, November 06, 2011 8:35 AM
To: logback users list
Subject: Re: [logback-user] Encoder pattern documentation?
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
_______________________________________________
Logback-user mailing list
Logback-user at qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
More information about the Logback-user
mailing list