Oracle WebCenter Content (MOSC)

MOSC Banner

log4j implementation in webcenter content

edited Oct 1, 2015 10:00AM in Oracle WebCenter Content (MOSC) 1 commentAnswered

We need to implement custom logging in WCC. I have added log4j to the custom component classes. The log4j jar has been placed at $domain_home$/ucm/cs/custom/CustomComponent/lib folder. The code works fine on local(creates a log file & writes into it), but somehow unable to write into file on WCC server. the log4j.properties file is placed in the $domain_home$/ucm/cs/custom/CustomComponent/classes folder.

I think issue is the log4j.properties file not being read.  Where should it be placed in the custom component?

WCC version: 11gR1-11.1.1.7.0-idcprod1-140808T105657

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center