configuration of log4j to create orbeon.log

classic Classic list List threaded Threaded
3 messages Options
DL
Reply | Threaded
Open this post in threaded view
|

configuration of log4j to create orbeon.log

DL
Sorry .. this is another beginner's question on log4j configuration.

I don't see orbeon.log appearing anywhere .. and I've searched throughout c:\.

Other Tomcat logs (admin, catalina, jakarta-service, stderr, stdout) are working o.k.
and updating daily logs in %TOMCAT_HOME%\logs.   But no orbeon.log can be seen.

I don't see where my properties-local.xml and log4j.xml differ from the tutorials.

There is a path to orbeon.log defined here ..

             

I have Tomcat 6.0 and Orbeon-CE 4.9.0

I attach my log4j.xml and properties-local.xml.  
Can you see any problems with configuration files?
Any things to look out for?   Write permission is o.k.

log4j.xml
properties-local.xml
DL
Reply | Threaded
Open this post in threaded view
|

Re: configuration of log4j to create orbeon.log

DL
the missing path above (which was blanked out) is ..

There is a path to orbeon.log defined here ..

             <param name="File" value="../logs/orbeon.log"/>
Reply | Threaded
Open this post in threaded view
|

Re: configuration of log4j to create orbeon.log

Binesh Gummadi
log4j.xml and properties.local files looks good. If you haven't, you should restart your tomcat. orbeon.log file will be created in a log directory which would be located one directory up from where you started your tomcat.

If you still can't see the log file, giving an absolute path in log4j.xml might help. Check if this works.
<param name="File" value="/tmp/orbeon.log"/>