logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: log4j doesn't log files when a app is running on tomcat host
Date Fri, 27 Oct 2006 13:35:05 GMT
Then are you sure that log4j.xml is being found?

On 10/26/06, Adilson Dias da Silva <adilson.sil@gmail.com> wrote:
> OH, OK.
> It is automatic, i do not call explicitly DOMConfigurator.
> . it is in dir classes.
> tks,
>
>
> On 10/26/06, James Stauffer <stauffer.james@gmail.com> wrote:
> >
> > Automatic: you put log4j.xml in the classpath.
> > Manual: You explicitly call DOMConfigurator
> >
> > Which do you do?
> >
> > On 10/25/06, Adilson Dias da Silva <adilson.sil@gmail.com> wrote:
> > > Hi, Jake,
> > > Thanks,
> > > It is a log4j.xml and it is in \WEB-INF and \classes also. it will be OK
> > in
> > > classes but, just in case.
> > > automatic or manual? I d'not know what you are asking.
> > > Adilson
> > >
> > >
> > > On 10/25/06, Jacob Kjome <hoju@visi.com> wrote:
> > > >
> > > >
> > > > Where do you put your config file?  And is the config file
> > > > log4j.properties or
> > > > log4j.xml?  Do you use automatic configuration or manual
> > configuration?
> > > >
> > > > Jake
> > > >
> > > > Quoting James Stauffer <stauffer.james@gmail.com>:
> > > >
> > > > > Can you turn on log4j debugging (set "log4j.debug" system property
> > to
> > > > > "true")?  That might help determine the cause.
> > > > >
> > > > > On 10/25/06, Adilson Dias da Silva <adilson.sil@gmail.com>
wrote:
> > > > > > Hi,
> > > > > > I and the fellows from the host admin are facing with a following
> > > > > situation:
> > > > > > myApp doesn't create a log file whem running in the host's tomcat
> > > > server
> > > > > > (virtual host), but is OK whem running in a tomcat localhost.
> > > > > > I have tested the same address used on log4j.xml, creating a
file
> > in
> > > > the
> > > > > > directory (/home/.../domains/myApp/logs/ ) and was created fine.
> > > > > > I have migrate to tomcat from jboss by the same reason, and
in the
> > > > jboss  i
> > > > > > have used the jboss soluction for RepositorySelector (
> > > > > > http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jRepositorySelector
)
> > > > without
> > > > > > success.
> > > > > > I have the log4j-1.2.13.jar in the WEB-INF/lib directory of
myApp
> > and
> > > > > > assumed that this approach in tomcat would provide a similar
> > behavior
> > > > to
> > > > > > using Repository Selector.
> > > > > > I have searched for threads in this mailing without success.
> > > > > > I will appreciate any help.
> > > > > > Thanks.
> > > > > >
> > > > > >
> > > > > > Adilson Dias da Silva (BR)                      * * *
> > > > > >     "Sê plural como o universo."
> > > > > > Pensamentos - Fernando Pessoa
> > > > > > ***************************************
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > James Stauffer        http://www.geocities.com/stauffer_james/
> > > > > Are you good? Take the test at http://www.livingwaters.com/good/
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > > > > For additional commands, e-mail: log4j-user-help@logging.apache.org
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > > > For additional commands, e-mail: log4j-user-help@logging.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Vote no monumento Cristo Redentor para que seja uma das 7 maravilhas do
> > > mundo.
> > > Gratuito, em www.new7wonders.com
> > >                       * * *
> > >     "Sê plural como o universo."
> > > Pensamentos - Fernando Pessoa
> > > ***************************************
> > >
> > >
> >
> >
> > --
> > James Stauffer        http://www.geocities.com/stauffer_james/
> > Are you good? Take the test at http://www.livingwaters.com/good/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-user-help@logging.apache.org
> >
> >
>
>
> --
> Vote no monumento Cristo Redentor para que seja uma das 7 maravilhas do
> mundo.
> Gratuito, em www.new7wonders.com
>                       * * *
>     "Sê plural como o universo."
> Pensamentos - Fernando Pessoa
> ***************************************
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message