[slf4j-dev] Why no error(Throwable) on the Logger interface?

Thorbjoern Ravn Andersen ravn at runjva.com
Thu May 28 22:35:04 CEST 2009


Jukka Zitting skrev:
> Hi,
>
> On Thu, May 28, 2009 at 4:32 PM, Robert Elliot <rob at lidalia.org.uk> wrote:
>   
>> I take it you include a date stamp in all your log messages then?
>>     
>
> Point taken. Though in fact I would put a timestamp in a log message
> if it was directly relevant to the logged event ("System time updated
> to {}", time). And I've seen plenty of logs out there without thread
> names in them.
>   
I have made it a habit to log the full output of new java.util.Date() at 
startup for each application.  This usually allows for much better 
identification of logs than the - usually - abbreviated date in a 
timestamp (plus our standard scenario restarts all applications every 
night).

-- 
  Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"




More information about the slf4j-dev mailing list