Re: [VFS] "anonymous" debug logging

2009-03-26 Thread Ralph Goers
On Mar 25, 2009, at 11:49 PM, Mario Ivankovits wrote: if (log.isDebugEnabled()) { log.debug("putFile: " + file.getName()); } with logger.entry(file.getName()); This is not the same, in the second exa

RE: [VFS] "anonymous" debug logging

2009-03-25 Thread Mario Ivankovits
Hi! > From: Ralph Goers [mailto:ralph.go...@dslextreme.com] > > I'm not a big fan of that. Me too, any decent logging facility should allow to configure the logger on a "per package" level, so no problem to make the logging silent for a given package. > I'd prefer to switch to SLF4J and jus

Re: [VFS] "anonymous" debug logging

2009-03-25 Thread Ralph Goers
I'm not a big fan of that. I prefer using Logback's and Log4j's ability to include the class name, method name and line number in the logging pattern. The overhead of that is not that large now that they are both using the getStackTrace method to get the information. In fact, I'd prefer to