Hello!

Am Fri, Apr 30, 2004 at 08:12:30AM -0500, Folkens, Brad meinte:
> 
> 1) Make sure you have a commons-logging.properties (check the wiki) in your
> WEB-INF/classes directory.

ok. i have a commons-logging.properties with the following contents:

org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jFactory
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger

> 2) Make sure you have the latest commons-logging.jar (1.3.1 I believe?)  and
> the latest log4j.jar

i only found a commons-logging.jar version 1.0.3. is this ok?

> 3) Make sure your Log4j.properties file has the correct absolute
> directories, or use the ${applicationRoot} variable (but make sure it's set
> in web.xml to webContext or an absolute)

i set applicationRoot in web.xml to an absolute path and used ${applicationRoot}
in the Log4j.properties of both webapps.

> Hope that helps - there's a wiki title SimpleLog or something on the Turbine
> wiki.  What is basically happening in your first app (that's logging to the
> console) is that commons-logging is defaulting to SimpleLog instead of
> Log4J.  The second app's logger might be getting configured by something
> else, and so the logs are nowhere to be found.  Double check the /logs
> directory or wherever it is configured in your Log4J.properties file...

nothing changed. i only get log files from the first app. the log
messages from the second app are elsewhere ... ;-)

Chris

-- 
mit freundlichen Gr��en / with kind regards
 
Ing. Christian J�lly @ Solutions
unycom  Information Technology Services GmbH
A-8042 Graz | Schmiedlstra�e 1 / III

Tel: ++43 (0)316 / 818 828 - 30
Fax: ++43 (0)316 / 818 828 - 38
[EMAIL PROTECTED]
http://www.unycom.com

In der moralischen Entr�stung schwingt auch immer die Besorgnis mit,
vielleicht etwas verpa�t zu haben.
                -- Jean Genet


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to