Hi

has anyone ever experienced any problems getting fedoragsearch logging to work? for some reason our installations - and we have even tried a completely fresh installation are not logging at all. I'v configured tomcat to run with log4j debugging enabled and it looks to me as if its looking in the right place, but doesnt know what configuration file its looking for - catalina output below:

Trying to find [-there-aint-no-such-file-] using context classloader WebappClassLoader^M
  context: /fedoragsearch^M
  delegate: false^M
  repositories:^M
    /WEB-INF/classes/^M
----------> Parent Classloader:^M
org.apache.catalina.loader.StandardClassLoader@501ba94d^M
.
log4j: Trying to find [-there-aint-no-such-file-] using WebappClassLoader^M
  context: /fedoragsearch^M
  delegate: false^M
  repositories:^M
    /WEB-INF/classes/^M
----------> Parent Classloader:^M
org.apache.catalina.loader.StandardClassLoader@501ba94d^M
 class loader.
log4j: Trying to find [-there-aint-no-such-file-] using ClassLoader.getSystemResource().
log4j: Could not find resource: [-there-aint-no-such-file-].
log4j:WARN No appenders could be found for logger (org.fcrepo.server.security.servletfilters.BaseCaching).
log4j:WARN Please initialize the log4j system properly.

I'v tried, just for the sake of experiment, setting -Dlog4j.configuration to the absolute filepath of fedoragsearch log4j.xml in the java opts in our tomcat start up script, and the process information shows it is running with this switch. The tomcat owner has write permissions for the logging file. I'v even tried, just as an experiment, copying the log4j.xml to a file called"[-there-aint-no-such-file-]"(desperate times call for desperate measures;-D) . And yet still no logging, and still the same catalina message!

Any suggestions would be most welcome...

Peri
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to