RE: Tracing/Logging in JetSpeed

2001-01-09 Thread Josep Vela
For concerns about Tracing/Logging I suggest take a look at: http://www.log4j.org./ Josep Vela [EMAIL PROTECTED] RD Manager FIHOCA Avda. Roma, 25 08029 Barcelona (Spain) -- -- To subscribe:[EMAIL PROTECTED] To unsubscribe:

Re: Tracing/Logging in JetSpeed

2001-01-09 Thread Kevin A. Burton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] writes: snip That this code does not belong to Jetspeed but to the framework. ;) There are already way too many logging class around here and I don't see the point in implementing yet another one. Logging and debug features

RE: Tracing/Logging in JetSpeed

2001-01-09 Thread SCHAECK
For concerns about Tracing/Logging I suggest take a look at: http://www.log4j.org./ Josep Vela [EMAIL PROTECTED] RD Manager FIHOCA Avda. Roma, 25 8029 Barcelona (Spain) Thanks for the hint, the API looks quite good, it has the required isEnabledFor(Priority), isInfoEnabled() and

RE: Tracing/Logging in JetSpeed

2001-01-09 Thread Brekke, Jeff
For concerns about Tracing/Logging I suggest take a look at: http://www.log4j.org./ Josep Vela [EMAIL PROTECTED] RD Manager FIHOCA Avda. Roma, 25 8029 Barcelona (Spain) Thanks for the hint, the API looks quite good, it has the required isEnabledFor(Priority), isInfoEnabled()

RE: Tracing/Logging in JetSpeed

2001-01-09 Thread Victor Ganora
For a look at another good Logger implementation see: http://protomatter.sourceforge.net/1.1.2/javadoc/com/protomatter/syslog/pack age-summary.html I'm no suggesting you use it, but you may get some useful ideas from the organization of their API. -Vik --

Re: Tracing/Logging in JetSpeed

2001-01-09 Thread Jon Stevens
on 1/9/2001 9:11 AM, "Victor Ganora" [EMAIL PROTECTED] wrote: For a look at another good Logger implementation see: http://protomatter.sourceforge.net/1.1.2/javadoc/com/protomatter/syslog/pack age-summary.html I'm no suggesting you use it, but you may get some useful ideas from the

Re: Tracing/Logging in JetSpeed

2001-01-08 Thread Santiago Gala
[EMAIL PROTECTED] escribi: Alan McAuley wrote: // creates new String objects only if Log is logging if (Log.isLogging()) { Log.note("SimpleTransform: transforming url: " + url + " with stylesheet: " + stylesheet_url ); } What about centralising the

Re: Tracing/Logging in JetSpeed

2001-01-08 Thread Alan McAuley
If you want to disable debugging for performance reason, you don't want to generate the debug string because String manipulation is expensive in Java, so it makes sense from a performance point of view to use the construct Thomas proposed rather than filtering at the Log class level.

Re: Tracing/Logging in JetSpeed

2001-01-08 Thread raphael . luta
Alan McAuley wrote: // creates new String objects only if Log is logging if (Log.isLogging()) { Log.note("SimpleTransform: transforming url: " + url + " with stylesheet: " + stylesheet_url ); } What about centralising the "isLogging" code to the Log class itself.

Re: Tracing/Logging in JetSpeed

2001-01-08 Thread raphael . luta
Santiago Gala wrote: [EMAIL PROTECTED] escribi: Alan McAuley wrote: // creates new String objects only if Log is logging if (Log.isLogging()) { Log.note("SimpleTransform: transforming url: " + url + " with stylesheet: " + stylesheet_url ); }

Re: Tracing/Logging in JetSpeed

2001-01-08 Thread SCHAECK
Raphael Luta wrote: That this code does not belong to Jetspeed but to the framework. ;) There are already way too many logging class around here and I don't see the point in implementing yet another one. Logging and debug features are important but should be (and maybe are already )