Hi Daniel,
we read the logging.xml through the web-resource-reader, i.e. we do not go through the file system but use the servlet container's API to read information from the web application:
Code:
String loggingXML = WebResourceReader.readUTF8FileIntoString("/eclntjsfserver/config/logging.xml",servletContext,false);
if (loggingXML != null)
{
try
{
SAXParser saxParser = SAXParserCreator.createSAXParser();
InputSource is = new InputSource(new StringReader(loggingXML));
saxParser.parse(is,new MyParser());
}
catch (Throwable t)
{
CLog.L.log(CLog.LL_ERR,"Error when parsing logging.xml",t);
}
}
...so there is not a lot to log. And: it is "perfectly fine" if the user does not define a logging.xml at all, so we do not log any error messages.
Send us your .war file and we'll check... ;-)
Björn