You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Si Chen <si...@opensourcestrategies.com> on 2006/07/13 18:57:04 UTC
how about changing log date format?
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
Re: how about changing log date format?
Posted by Jacques Le Roux <ja...@les7arts.com>.
+1
Jacques
----- Original Message -----
From: "J. Eckard" <jo...@redrocketcorp.com>
To: <of...@incubator.apache.org>
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
> >
Re: how about changing log date format?
Posted by "J. Eckard" <jo...@redrocketcorp.com>.
+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
>
Re: how about changing log date format?
Posted by Brett Palmer <br...@gmail.com>.
+1
And I wouldn't mind a few example ones commented out since I alway
have to look this up with I want to change the log format.
On 7/13/06, Fred Forester <fo...@fredforester.org> wrote:
> +1
>
> BJ Freeman wrote:
> > +1
> > do this manually now.
> > would be great if default.
> >
> >
> >
> > Si Chen sent the following on 7/13/2006 9:57 AM:
> >
> >> 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
> >>
> >>
> >>
> >
> >
>
Re: how about changing log date format?
Posted by Fred Forester <fo...@fredforester.org>.
+1
BJ Freeman wrote:
> +1
> do this manually now.
> would be great if default.
>
>
>
> Si Chen sent the following on 7/13/2006 9:57 AM:
>
>> 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
>>
>>
>>
>
>
Re: how about changing log date format?
Posted by BJ Freeman <bj...@free-man.net>.
+1
do this manually now.
would be great if default.
Si Chen sent the following on 7/13/2006 9:57 AM:
> 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
>
>
>