[SDSJ-37] Loggins is still stuffed for V2 discovery service. Created: 24/Mar/08  Updated: 11/Aug/09  Resolved: 23/Oct/08

Status: Closed
Project: Shibboleth Discovery Service - Java
Component/s: None
Affects Version/s: 1.0.0
Fix Version/s: 1.1.0

Type: Bug Priority: Major
Reporter: Rod Widdowson Assignee: Rod Widdowson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Java Version: Sun 1.5
Servlet Container: Apache Tomcat 5.5

 Description   
As written, the logging code for the discovery service only looks up the servlet context for the location of the log file. However the default web.xml ships with the parameter as a servlet config.

The work around is to modify the web.xml prior to building and deploying the war file (this is in resources\WEB-INF\web.xml). Add the following lines above thr <servlet> statement

<context-param>
<param-name>WAYFLogConfig</param-name>
<param-value>/etc/DiscoveryService/logging.xml</param-value>
</context-param>
[Where you put in the correct location of the log file]

The fix will be to collect the parameter from the same place (just as it does for the config file)


 Comments   
Comment by Rod Widdowson [ 24/Mar/08 ]
Checkin 2081: Collect the logging from both placves in the web.xml file
Comment by Rod Widdowson [ 23/Oct/08 ]
reopenning so I can give it a target release
Comment by Rod Widdowson [ 23/Oct/08 ]
for final test in 1.0.1
Comment by Rod Widdowson [ 09/Jan/09 ]
Tested in near final release
Generated at Tue Oct 16 11:05:53 UTC 2018 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.