Subject Re: log4j directory?
Author benjohnpv
i tried this and placed it all around my folders but i still get the
same error...

oh by the way i am trying to run it on windows.. is there any special
instruction included to it??

here is the content of my log4j.properties

log4j.category.org.firebirdsql=debug,fbsql

log4j.appender.fbsql=org.apache.log4j.FileAppender
log4j.appender.fbsql.File=C:\Program Files\Apache Tomcat 4.0
\logs\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

for the meantime i took the log4j-core.jar file off to avoid the
errors, is this recommended?? what should be done for a fix??

all fixes welcomed :-)

pal,
benjohn


--- In Firebird-Java@y..., "Rick Fincher" <rnf@t...> wrote:
> 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@y...
> > >
> > >
> > >
> > > 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@y...
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >