Subject | Re: [Firebird-Java] Re: log4j directory? |
---|---|
Author | benjohn villedo |
Post date | 2002-07-29T01:22:02Z |
hi there william,
Good Day!!!
i tried your suggestion re /log/test.log placed it
almost everywhere hehehe but i still got the same
error messages once i startup tomcat
i also checked the log4j-core.jar and couldn't find
any log4j.properties file so this portion of ur
suggestion was not followed through..
as a solution i temporarily took off log4j-core.jar
from $CATALINA_HOME/common/lib
so question ... should i consider that move the
permanent fix??
thanks a lot for the attention :-)
pal,
benjohn
--- "William L. Thomson Jr."
<support@...> wrote:
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
Good Day!!!
i tried your suggestion re /log/test.log placed it
almost everywhere hehehe but i still got the same
error messages once i startup tomcat
i also checked the log4j-core.jar and couldn't find
any log4j.properties file so this portion of ur
suggestion was not followed through..
as a solution i temporarily took off log4j-core.jar
from $CATALINA_HOME/common/lib
so question ... should i consider that move the
permanent fix??
thanks a lot for the attention :-)
pal,
benjohn
--- "William L. Thomson Jr."
<support@...> wrote:
> On Fri, 2002-07-26 at 00:14, benjohnpv wrote:log4j.appender.fbsql.layout=org.apache.log4j.PatternLayout
> > 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??
>
> Ah, I did not realize that or it was not mentioned.
> In that case try
> creating a log dir in the folder that the
> log4j-core.jar is in, and see
> if the test.log ends up in that. If not create the
> dir in the directory
> of the app that is using the driver.
>
> Also if you do not care about logging explicitly
> turn it off as you
> start your app via -DFBLog4j=false
>
> Also try to place the log4j.properties file next to
> the log4j-core.jar
> to see if that helps it to be read.
>
> I believe there is also one in the jar file itself
> that you can modify.
> Just open up the jar with winzip and modify the prop
> file in it if you
> do want logging.
>
> Good luck hope that helps.
>
> > 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.ConversionPattern=[%c{1},%p]
>
> %m%nlog4j.appender.fbsql.layout=org.apache.log4j.PatternLayout
> > 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.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/
> > > >
> > > >
> > > >
> >
> >
> >
> > 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
>
>
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com