You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2020/03/19 14:17:00 UTC
[jira] [Assigned] (ISIS-748) Improve the way we setup logging to
vary between prod and test, and independent of viewer.
[ https://issues.apache.org/jira/browse/ISIS-748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Keir Haywood reassigned ISIS-748:
----------------------------------------
Fix Version/s: (was: 2.4.0)
2.0.0-M3
Assignee: Daniel Keir Haywood
This has been superceded by moving to Spring Boot.
> Improve the way we setup logging to vary between prod and test, and independent of viewer.
> ------------------------------------------------------------------------------------------
>
> Key: ISIS-748
> URL: https://issues.apache.org/jira/browse/ISIS-748
> Project: Isis
> Issue Type: Improvement
> Components: Isis Core, Isis Viewer Wicket
> Affects Versions: viewer-wicket-1.4.1, core-1.4.0
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Minor
> Fix For: 2.0.0-M3
>
>
> There is very similar code in both IsisWebAppBootstrapper and the IsisWicketApplication, using IsisLoggingConfigurer. This should be factored out into something reusable by both, as a context initlaizer (global webapp scope).
> Then, in both cases let the logging.properties be picked up from some other directory outside of WEB-INF.
> ~~~
> UPDATE: it seems that specifying log4j.configuration seems to override this already???
> /usr/lib/jvm/java-7-openjdk-amd64/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms128m -Xmx768m -XX:PermSize=64m -XX:MaxPermSize=256m -XX:+DisableExplicitGC -Dlog4j.configuration=/etc/tomcat7/estatio/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -classpath /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat7 -Dcatalina.home=/usr/share/tomcat7 -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp org.apache.catalina.startup.Bootstrap start
--
This message was sent by Atlassian Jira
(v8.3.4#803005)