debug.properties error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

debug.properties error

Brendan Vogt
Hi,

 

I cam across the following in the file:

 

# These top level switches are used before calling Log4J, or if Log4J is not
used

print.verbose=ftrue

print.timing=true

print.info=true

print.important=true

print.warning=true

print.error=true

print.fatal=true

 

what is ftrue or is it an error?

 

Brendan

 

Reply | Threaded
Open this post in threaded view
|

Re: debug.properties error

BJ Freeman
you can change those through the webtools also, so you can see how to do
programming
https://localhost:8443/webtools/control/LogConfiguration

Brendan Vogt sent the following on 10/23/2007 10:48 AM:

> Hi,
>
>  
>
> I cam across the following in the file:
>
>  
>
> # These top level switches are used before calling Log4J, or if Log4J is not
> used
>
> print.verbose=ftrue
>
> print.timing=true
>
> print.info=true
>
> print.important=true
>
> print.warning=true
>
> print.error=true
>
> print.fatal=true
>
>  
>
> what is ftrue or is it an error?
>
>  
>
> Brendan
>
>  
>
>
Reply | Threaded
Open this post in threaded view
|

Re: debug.properties error

Gautam Deb-2
Ofbiz internally uses log4j for logging purpose. It has created a wrapper
above the log4j api to provide a generic logging interface. The switches you
have mentioned are top level switch used by/for the ofbiz logging wrapper.

These switches are boolean in nature, for these anything other than
'false'is true. So
David Jones  uses the value ftrue for indicating true coz it helps in easy
switching!!!

Hope this helps.

Best Regards,
Gautam Deb



On 10/23/07, BJ Freeman <[hidden email]> wrote:

>
> you can change those through the webtools also, so you can see how to do
> programming
> https://localhost:8443/webtools/control/LogConfiguration
>
> Brendan Vogt sent the following on 10/23/2007 10:48 AM:
> > Hi,
> >
> >
> >
> > I cam across the following in the file:
> >
> >
> >
> > # These top level switches are used before calling Log4J, or if Log4J is
> not
> > used
> >
> > print.verbose=ftrue
> >
> > print.timing=true
> >
> > print.info=true
> >
> > print.important=true
> >
> > print.warning=true
> >
> > print.error=true
> >
> > print.fatal=true
> >
> >
> >
> > what is ftrue or is it an error?
> >
> >
> >
> > Brendan
> >
> >
> >
> >
>