how about changing log date format?

Posted by Si Chen-2 on
URL: http://ofbiz.116.s1.nabble.com/how-about-changing-log-date-format-tp169691.html

Hi everybody

How about we change the format of the ofbiz.log date format from

76881[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs  
for [ContactMech]; curSeqId=10000, maxSeqId=10010, bankSize=10
76905[                Log.java:103:INFO ] Contact mech created with  
id 10000

to an actual date and time stamp like this:
2006-07-12 10:16:41,047 [  ModelScreenWidget.java:371:INFO ] In the  
include-screen tag the screen name was empty, ignoring include; in  
screen [GlobalDecorator]
2006-07-12 10:16:41,115 [     ControlServlet.java:258:DEBUG]  
[[[CompletePack] Done rendering page, Servlet Finished- total:
8.925,since last([CompletePack] Se...):8.925]]

It would just involve a change to the base/config/debug.properties.

Si