Re: how about changing log date format?

Posted by Jacques Le Roux on
URL: http://ofbiz.116.s1.nabble.com/how-about-changing-log-date-format-tp169691p169693.html

+1

Jacques

----- Original Message -----
From: "J. Eckard" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, July 13, 2006 7:31 PM
Subject: Re: how about changing log date format?


> +1
>
> Replacing %-5r with %d{ISO8601} is usually the first thing I do.
>
> -Joe
>
> On Jul 13, 2006, at 12:57 PM, Si Chen wrote:
>
> > 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
> >