logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adilson Dias da Silva" <adilson....@gmail.com>
Subject Re: log4j doesn't log files when a app is running on tomcat host
Date Thu, 26 Oct 2006 04:29:19 GMT
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
***************************************

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message