[OFBiz] Dev - logging set to date rather than seconds format

Si Chen sichen at opensourcestrategies.com
Thu Aug 25 21:09:50 EDT 2005


Hi.  Just curious - why is debug.properties not set to %d instead of 
%-5r?  It seems it would be nicer to get this kind of date format with 
messages:
2005-08-25 17:58:50,548 (http-0.0.0.0-8445-Processor3) [     
ControlServlet.java:258:DEBUG] [[[FindGeneric] Done rendering page, 
Servlet Finished- total:0.15,since last([FindGeneric] Set...):0.15]]

instead of this:
1292529[     ControlServlet.java:183:DEBUG] [[[updateInvoice] Setup 
done, doing Event(s) and View(s)- total:0.0010,since 
last([updateInvoice] S...):0.0010]]

I can send in a patch, but I was just curious why it wasn't done this 
way before...

Thanks,

Si



More information about the Dev mailing list