From: Adam R. <ad...@ex...> - 2015-11-17 10:34:04
|
Chris, Have you tried specified the absolute path to the location you want your log files placed in log4j2.xml? You can just change this value: <Property name="logs">webapp/WEB-INF/logs</Property> There are known problems with log4j2 relative log file paths, I have an enhancement issue opened with the log4j project: https://issues.apache.org/jira/browse/LOG4J2-1050 See - https://github.com/eXist-db/exist/pull/637 On 16 November 2015 at 20:49, Chris Tomlinson <chr...@gm...> wrote: > Hi, > > I’m trying again to debug why the logging isn’t working in eXist-sdb 3.0RC1 > when run from war file in Tomcat 8. > > I am seeing the following in the catalina.out: > > 17535 [WARN] WebFactory: Could not find > /usr/local/indium/exist/apache-tomcat-8.0.12/webapps/exist/WEB-INF/log4j.xml > > and it appears this results from betterform-config.xml line 16-17: > > <property name="log4j.file" value="WEB-INF/log4j.xml" > description="the location of the log4j configuration file > relative to context"/> > > When I change to WEB-INF/log4j2.xml the warning no longer occurs. > > However, logging is still not happening in WEB-INF/logs :-( > > ciao, > Chris > > > > > > ------------------------------------------------------------------------------ > Presto, an open source distributed SQL query engine for big data, initially > developed by Facebook, enables you to easily query your data on Hadoop in a > more interactive manner. Teradata is also now providing full enterprise > support for Presto. Download a free open source copy now. > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |