avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Mortenson <l...@silveregg.co.jp>
Subject LogKit Hierarchy default Format
Date Mon, 25 Feb 2002 11:15:14 GMT
Currently, the default format for a LogKit logger is:
"%7.7{priority} %5.5{time} [%8.8{category}] (%{context}):

I was wondering what the reason for time having a length of 5 was. This
is a unix time,
so it just shows a value like: 10415 or something. Not very useful. How
about changing
this default value to:
"%7.7{priority} %10.10{time} [%8.8{category}] (%{context}):
so that the whole time is visible.

A default like the following would be the most useful for most people,
but it may be a little
more CPU intensive.
"%7.7{priority} %19.19{time:yyyy-MM-dd' 'HH:mm:ss.SSS} [%8.8{category}]
(%{context}): %{message}\n%{throwable}"



To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>

View raw message