You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Zsolt Koppany <zk...@intland.com> on 2003/08/06 10:58:08 UTC
tomcat 4.1.27 log4j problem
Hi,
my application uses log4j and with tomcat 4.1.27 (but not with 4.1.24) I
get the following error message:
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
How can I fix this problem?
Zsolt
how to get tomcat's tmp dir path?
Posted by joseph lam <jo...@quotepower.com>.
any way to get the absolute path to my $CATALINA_BASE or
$CATALINA_BASE/temp directory? Thx.
Joseph
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
how to get tomcat's tmp dir path?
Posted by joseph lam <jo...@quotepower.com>.
any way to get the absolute path to my $CATALINA_BASE or
$CATALINA_BASE/temp directory? Thx.
Joseph
Re: tomcat 4.1.27 log4j problem
Posted by Zsolt Koppany <zk...@intland.com>.
Thank you Nathan.
Zsolt
On Wed, 2003-08-06 at 12:15, Nathan Coast wrote:
> if you use log4j on a tomcat-wide basis (ie 1 configuration for the
> tomcat runtime and all your webapps), place your log4j.xml in
> [tomcat-home]/shared/classes/
>
> if you use log4j on a per-webapp basis, make sure the log4j classes
> aren't on the tomcat classpath and configure commons-logging to use jdk
> logging (assuming you are using jdk 1.4).
>
> Zsolt Koppany wrote:
>
> > Hi,
> >
> > my application uses log4j and with tomcat 4.1.27 (but not with 4.1.24) I
> > get the following error message:
> >
> >
> > log4j:WARN No appenders could be found for logger
> > (org.apache.commons.digester.Digester).
> > log4j:WARN Please initialize the log4j system properly.
> >
> > How can I fix this problem?
> >
> >
> > Zsolt
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: tomcat 4.1.27 log4j problem
Posted by Zsolt Koppany <zk...@intland.com>.
Thank you Nathan.
Zsolt
On Wed, 2003-08-06 at 12:15, Nathan Coast wrote:
> if you use log4j on a tomcat-wide basis (ie 1 configuration for the
> tomcat runtime and all your webapps), place your log4j.xml in
> [tomcat-home]/shared/classes/
>
> if you use log4j on a per-webapp basis, make sure the log4j classes
> aren't on the tomcat classpath and configure commons-logging to use jdk
> logging (assuming you are using jdk 1.4).
>
> Zsolt Koppany wrote:
>
> > Hi,
> >
> > my application uses log4j and with tomcat 4.1.27 (but not with 4.1.24) I
> > get the following error message:
> >
> >
> > log4j:WARN No appenders could be found for logger
> > (org.apache.commons.digester.Digester).
> > log4j:WARN Please initialize the log4j system properly.
> >
> > How can I fix this problem?
> >
> >
> > Zsolt
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: tomcat 4.1.27 log4j problem
Posted by Nathan Coast <na...@codeczar.com>.
if you use log4j on a tomcat-wide basis (ie 1 configuration for the
tomcat runtime and all your webapps), place your log4j.xml in
[tomcat-home]/shared/classes/
if you use log4j on a per-webapp basis, make sure the log4j classes
aren't on the tomcat classpath and configure commons-logging to use jdk
logging (assuming you are using jdk 1.4).
Zsolt Koppany wrote:
> Hi,
>
> my application uses log4j and with tomcat 4.1.27 (but not with 4.1.24) I
> get the following error message:
>
>
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.digester.Digester).
> log4j:WARN Please initialize the log4j system properly.
>
> How can I fix this problem?
>
>
> Zsolt
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: tomcat 4.1.27 log4j problem
Posted by Nathan Coast <na...@codeczar.com>.
if you use log4j on a tomcat-wide basis (ie 1 configuration for the
tomcat runtime and all your webapps), place your log4j.xml in
[tomcat-home]/shared/classes/
if you use log4j on a per-webapp basis, make sure the log4j classes
aren't on the tomcat classpath and configure commons-logging to use jdk
logging (assuming you are using jdk 1.4).
Zsolt Koppany wrote:
> Hi,
>
> my application uses log4j and with tomcat 4.1.27 (but not with 4.1.24) I
> get the following error message:
>
>
> log4j:WARN No appenders could be found for logger
> (org.apache.commons.digester.Digester).
> log4j:WARN Please initialize the log4j system properly.
>
> How can I fix this problem?
>
>
> Zsolt
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>