Initialize logging at the context level.
authorgilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 6 Jun 2005 13:11:58 +0000 (13:11 +0000)
committergilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 6 Jun 2005 13:11:58 +0000 (13:11 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1605 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

webAppConfig/dist.sp.xml

index 2557125..0b4ce19 100644 (file)
                <param-name>ServiceProviderConfigFile</param-name>
                <param-value>$SHIB_HOME$/etc/sp.xml</param-value>
        </context-param>
                <param-name>ServiceProviderConfigFile</param-name>
                <param-value>$SHIB_HOME$/etc/sp.xml</param-value>
        </context-param>
-
+       <context-param>
+               <param-name>InitializationLog</param-name>
+               <param-value>$SHIB_HOME$/etc/sp-init.logger</param-value>
+       </context-param>
+       
        <filter>
                <!-- Gather log data in a per-request in memory buffer
                         Requires /showlog Servlet to return log data to client
        <filter>
                <!-- Gather log data in a per-request in memory buffer
                         Requires /showlog Servlet to return log data to client
                <filter-name>RequestLogFilter</filter-name>
                <servlet-name>AssertionConsumer</servlet-name>
        </filter-mapping>
                <filter-name>RequestLogFilter</filter-name>
                <servlet-name>AssertionConsumer</servlet-name>
        </filter-mapping>
+       
+       <listener>
+               <listener-class>edu.internet2.middleware.shibboleth.serviceprovider.ContextListener
+               </listener-class>
+       </listener>
 
        <!-- Servlets for Shibboleth/SAML Protocol endpoints -->
        <servlet>
 
        <!-- Servlets for Shibboleth/SAML Protocol endpoints -->
        <servlet>