tslosar
12 years agoContributor
Trying to locate issue - help with log config
Hello
I am trying to debug an issue where soapUI mockservices seemi to hang tomcat however I am having trouble with logging. I have 3 mockservices deployed and working. When these get hit hard they eventually make tomcat hang.
I have a /classes directory (in all 3 webapps directories) containing log4j.xml and log4j.properties and have tried specifying -Dsoapui.logroot however the logs seem to be all over the place. Log level is specified as "TRACE" however the logs, when I find them, don't have detail about executed mockservices.
I have found logs in /soapui, /soapui/log, /classes and /classes/log - but in only one of the three webapps mockservice directories! Also, I have found logs from my other tomcat application in these directories when I specify -Dsoapui.logroot however no logs are in that specified directory!
What i would like to do, if possible, is have control over the log level and have the logs for all 3 mockservices in their own directories, preferably like /opt/tomcat-6.0.18/webapps/MR/WEB-INF/logs. Also prevent any log entries going into catalina.out.
Also for some reason when -Dsoapui.logroot is set in the tomcat startup script it reports "no such file or directory" even though it does exist.
Using soapUI 4.6.2 on tomcat 6.0.18 on CentOS 5.9.
Config files attached.
Thank you kindly for your help.
I am trying to debug an issue where soapUI mockservices seemi to hang tomcat however I am having trouble with logging. I have 3 mockservices deployed and working. When these get hit hard they eventually make tomcat hang.
I have a /classes directory (in all 3 webapps directories) containing log4j.xml and log4j.properties and have tried specifying -Dsoapui.logroot however the logs seem to be all over the place. Log level is specified as "TRACE" however the logs, when I find them, don't have detail about executed mockservices.
I have found logs in /soapui, /soapui/log, /classes and /classes/log - but in only one of the three webapps mockservice directories! Also, I have found logs from my other tomcat application in these directories when I specify -Dsoapui.logroot however no logs are in that specified directory!
What i would like to do, if possible, is have control over the log level and have the logs for all 3 mockservices in their own directories, preferably like /opt/tomcat-6.0.18/webapps/MR/WEB-INF/logs. Also prevent any log entries going into catalina.out.
Also for some reason when -Dsoapui.logroot is set in the tomcat startup script it reports "no such file or directory" even though it does exist.
Using soapUI 4.6.2 on tomcat 6.0.18 on CentOS 5.9.
Config files attached.
Thank you kindly for your help.