Subject Re: [Firebird-Java] Re: Logger - Help on turning off Logger
Author Rick Fincher
In a standalone program will log4j find the configuation file in the
classpath? in the directory that the class file being executed is located?
Or must you execute the class with a flag
like: -Dlog4j.configuration=file:/c:/foobar.lcf?

Thanks,

Rick

----- Original Message -----

> --- In Firebird-Java@y..., David Jencks <davidjencks@d...> wrote:
> > You need to turn off firebird logging in your log4j.properties or
> .xml file
> > with something like org.firebirdsql=INFO
> >
>
> It is very annoying...<G>
>
> BTW the correct entry is..
>
> log4j.logger.org.firebirdsql=[DEBUG, INFO, WARN, ERROR, FATAL]
>
> Thanks for pointing me in the right direction.. It has been so
> long since I read the log4j "manual" that I had forgotten about this
> very good feature..<G> Yes I really like log4j and depend heavily on
> it, but one tends to set and forget..<sigh>
>
> John...
>
>
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>