2013/1/24 Tiago Sousa <tiago-a-so...@ext.ptinovacao.pt>:
> Hello to all.
>
> I have tomcat 6

Which version?
Did you install it from a zip file downloaded from tomcat.apache.org?

> using JULI for logging (logging.properties in conf dir) plus
> several webapps using its own log4j.properties.
>
> I need to centralized all the logs so i thought to put a global/shared
> log4j.properties in $CATALINA_BASE\lib so that tomcat and each webapp can be
> controlled through this file.

OK, but make sure that all jars are in their proper places. Sometimes
people read the doc incorrectly.

http://tomcat.apache.org/tomcat-6.0-doc/logging.html

>
> The problem i'm facing is that no logs are produced.
>
> At this time i'm trying to configure just TOMCAT, no webapps, to log through
> log4j but still no logs are produced. I've folowed the tutorial in Apache
> logging webpage with the standard log4j.properties. No logs in
> $CATALINA_BASE\logs.
>

Which tutorial did you follow?

Did you configure them to be written to "${catalina.base}/logs" ?
Maybe it tries to write them elsewhere?

Is the file readable?

> Can you help me saying what mistakes i am doing in this basic configuration
> (tomcat and no apps)?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to