commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Sanders" <ssand...@nextance.com>
Subject RE: [Logging] default log level
Date Wed, 09 Jan 2002 20:14:43 GMT
> -----Original Message-----
> From: Paulo Gaspar [mailto:paulo.gaspar@krankikom.de] 
> Sent: Wednesday, January 09, 2002 12:33 PM
> To: Jakarta Commons Developers List
> Subject: RE: [Logging] default log level
> 
> 
> > INFO it is ;-)  (Man, changing the mind is too easy sometimes)
> 
> LOL!!!
> 
> You followed EXACTLY my reasoning steps!
> =:o)

That's life though, I suppose :)

> 
> 
> BTW, my name is Paulo, (PaUlo with an "u"). Paolo is the 
> Italian version. This strange spelling is Portuguese.
> 
> I assure I do not get offended or something, I just prefer 
> the original version.
> =:o)

Apologies for the misspelling, Paulo.

Scott

> 
> Have fun,
> Paulo Gaspar
> 
> 
> > -----Original Message-----
> > From: Scott Sanders [mailto:ssanders@nextance.com]
> > Sent: Wednesday, January 09, 2002 8:22 PM
> >
> >
> > Agree, and that has been done now.  But let's use Digester as an 
> > example. The issue that I have is that by default when I 
> plug Digester 
> > into my project, I think that I would just want to trust 
> that it works 
> > and move on (ie ERROR by default), but some take the other 
> approach of 
> > logging a lot and then forcing the developer to set it 
> explictly to a 
> > lesser level.
> >
> > I can see either.  If I am a newbie stuffing Digester into 
> something, 
> > then maybe INFO is the way to go, by making them understand how to 
> > turn it off, they learn that it actually has this functionality, 
> > whereas if it was at ERROR by default, they might even 
> start stuffing 
> > System.out.println()s everywhere to get it to work.
> >
> > If I am an experienced Digester user, I just want to plug 
> it.  But on 
> > the other hand, I am probably using Log4J/LogKit and have 
> the default 
> > configured there (ERROR for me).
> >
> > OK, I convinced myself, with Paolo's help.  INFO shows that the 
> > component is working, forcing the user to think about how 
> to turn it 
> > off.
> >
> > INFO it is ;-)  (Man, changing the mind is too easy sometimes) Scott
> >
> > > -----Original Message-----
> > > From: Paulo Gaspar [mailto:paulo.gaspar@krankikom.de]
> > > Sent: Wednesday, January 09, 2002 11:34 AM
> > > To: Jakarta Commons Developers List
> > > Subject: RE: [Logging] default log level
> > >
> > >
> > > Or maybe some "INFO" log calls in Digester should become "DEBUG" 
> > > calls.
> > >
> > > This is the kind of change I usually end up making in my 
> code when I 
> > > see those symptoms.
> > >
> > > INFO should show that important things are really running and 
> > > important options, not that ALL things are running and 
> all options!
> > > =;o)
> > >
> > >
> > > Have fun,
> > > Paulo Gaspar
> > >
> > >
> > > > -----Original Message-----
> > > > From: Scott Sanders [mailto:ssanders@nextance.com]
> > > > Sent: Wednesday, January 09, 2002 7:27 PM
> > > > To: Jakarta Commons Developers List
> > > > Subject: RE: [Logging] default log level
> > > >
> > > >
> > > > After using Digester last night at the INFO level, I would 
> > > > actually say that INFO is indeed to high a level as a 
> default.  I 
> > > > would say either WARN or ERROR.
> > > >
> > > > Scott
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> > > For
> > > additional commands,
> > > e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> > >
> > >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:commons-dev-help@jakarta.apache.org>
> 
> 
> --
> To 
> unsubscribe, e-mail:   
> <mailto:commons-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message