I presume that you meant that the '19:19' was deliberate (It chops off the
.SSS)




Leif Mortenson <[EMAIL PROTECTED]> on 25/02/2002 22:15:14

Please respond to "Avalon Developers List" <[EMAIL PROTECTED]>

To:    Avalon Dev Mailing List <[EMAIL PROTECTED]>
cc:

Subject:    LogKit Hierarchy default Format

Currently, the default format for a LogKit logger is:
"%7.7{priority} %5.5{time} [%8.8{category}] (%{context}):
%{message}\\n%{throwable}";

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}):
%{message}\\n%{throwable}";
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}"

Thoughts?

Leif



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]
>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]
>










****************************************************************
NOTICE - This message is intended only for the use of the 
addressee named above and may contain privileged and 
confidential information.  If you are not the intended recipient
of this message you are hereby notified that you must not 
disseminate, copy or take any action based upon it.  If you 
received this message in error please notify HIC immediately.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of HIC.
****************************************************************

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to