tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Costin Manolache" <cos...@gmail.com>
Subject Re: Juli/Logging
Date Thu, 02 Aug 2007 15:24:35 GMT
I think something is missing - DirectJDKLog is looking for a
JdkLoggerFormatter that would do
the trick. I may have forgot to add it, I have it on my machine ( I hate too
the default format ).
There's also a config override allowing default properties to be loaded from
a different location.

Costin

On 8/2/07, Remy Maucherat <remm@apache.org> wrote:
>
> Rainer Jung wrote:
> >>> That's why it would be nice if someone took the burden of writing a
> >>> better log formatter for j.u.l.
> >>
> >> Got it.  Yea, that format is certainly grep unfriendly.
> >>
> >> Looks like Harmony has a formatter we could copy from and fix to not
> >> add the new line.
> >>
> >>
> http://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/modules/logging/src/main/java/java/util/logging/SimpleFormatter.java
> >
> > Yes, that could be a good starting point (although that implementation
> > does not care about localization).
>
> It might be better to use log4j code as a starting point as it already
> has the pattern processing code.
>
> Rémy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message