XMLUI doesn't start if the error level in the log4j.properties is set to DEBUG
------------------------------------------------------------------------------
Key: DS-675
URL: http://jira.dspace.org/jira/browse/DS-675
Project: DSpace 1.x
Issue Type: Bug
Components: XMLUI
Affects Versions: 1.6.2
Environment: Mac OS, Tomcat, Java 1.6
Reporter: Franck Borel
Setting the log level in the log4j.properties from INFO to DEBUG following
error:
2010-09-16 10:57:11,892 ERROR cocoon.handled - Sitemap: error when calling
sub-sitemap
at <map:mount> -
jndi:/localhost/dspace-xmlui/aspects/aspects.xmap:119:72
at <map:select type="parameter"> -
jndi:/localhost/dspace-xmlui/aspects/aspects.xmap:109:34
at <map:match type="AspectMatcher"> -
jndi:/localhost/dspace-xmlui/aspects/aspects.xmap:108:36
at <map:mount> - jndi:/localhost/dspace-xmlui/sitemap.xmap:430:108
at <map:match> - jndi:/localhost/dspace-xmlui/sitemap.xmap:429:53
etc.
Setting of the log4j.properties:
# These lines sets the logging level for the cocoon log file.
# Set these to DEBUG to see extra detailed logging.
log4j.logger.org.apache.cocoon=DEBUG, A3
log4j.logger.cocoon=DEBUG, A3
log4j.logger.org.springframework=DEBUG, A3
# Do not change these lines
log4j.additivity.org.apache.cocoon=false
log4j.additivity.cocoon=false
log4j.additivity.org.springframework=false
# The name of the file appender
log4j.appender.A3=org.dspace.app.util.DailyFileAppender
# The filename of the log file created. A date stamp is appended to this
log4j.appender.A3.File=/myopt/dspace-hcc/log/cocoon.log
# Set this to yyyy-MM-DD for daily log files, or yyyy-MM for monthly files
log4j.appender.A3.DatePattern=yyyy-MM-dd
# The number of log files to keep, or 0 to keep them all
log4j.appender.A3.MaxLogs=0
# A2 uses PatternLayout.
log4j.appender.A3.layout=org.apache.log4j.PatternLayout
log4j.appender.A3.layout.ConversionPattern=%d %-5p %c %x - %m%n
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel