Subject Re: [Firebird-Java] log4j directory?
Author Rick Fincher
Thanks William,

That should help sort out stuff. Just using -DFBLog4j=true results in all
the calls to all the webapps being mixed in the logs/log/test.log file.

Rick

> You need to create a log4j.properties file and put it in each of your
> web apps WEB-INF/classes folder or one of the global Tomcat classes
> folder.
>
> Here is what should be in it
>
> log4j.category.org.firebirdsql=debug,fbsql
>
> log4j.appender.fbsql=org.apache.log4j.FileAppender
> log4j.appender.fbsql.File=/var/log/firebirdsql.log
> log4j.appender.fbsql.layout=org.apache.log4j.PatternLayout
> log4j.appender.fbsql.layout.ConversionPattern=[%c{1},%p] %m%n
> log4j.appender.Dfbsql.Append=true
>
> You may want to change the first line, debug to error or fatal.
>
>
> On Mon, 2002-07-22 at 12:54, Rick Fincher wrote:
> > Hi All,
> >
> > Did anybody get log4j in the driver running with Tomcat?
> >
> > I've been trying to use it by putting -DFBLog4j=true in the startup
script
> > but I keep getting "FileNotFoundException: log/test.log (No such file or
> > directory)"
> >
> > I've put /log directories in several places with no luck.
> >
> > Anybody know where it goes?
> >
> > Thanks,
> >
> > Rick
> >
> >
> >
> > 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/
> >
> >
> --
> Sincerely,
> William L. Thomson Jr.
> Support Group
> Obsidian-Studios Inc.
> 439 Amber Way
> Petaluma, Ca. 94952
> Phone 707.766.9509
> Fax 707.766.8989
> http://www.obsidian-studios.com
>
>
>
> 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/
>
>
>