include a sample log4j properties file
authorgilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 6 Jun 2005 13:10:11 +0000 (13:10 +0000)
committergilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 6 Jun 2005 13:10:11 +0000 (13:10 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1602 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

conf/sp-conf.include
src/conf/sp-init.logger [new file with mode: 0644]

index ff1d77a..1aeaa90 100644 (file)
@@ -3,4 +3,5 @@ IQ-metadata.xml
 dist.sp.xml
 sp-example.crt
 sp-example.key
-AAP.xml
\ No newline at end of file
+AAP.xml
+sp-init.logger
\ No newline at end of file
diff --git a/src/conf/sp-init.logger b/src/conf/sp-init.logger
new file mode 100644 (file)
index 0000000..4dc328f
--- /dev/null
@@ -0,0 +1,12 @@
+# A log4j configuration file for initialization
+# This configuration file starts logging when the only available information
+# comes from the Servlet context parameter. It does not depend on XML parsing
+# or any other configuration file. However, its location must have been 
+# correctly installed in WEB-INF/web.xml for the SP
+
+log4j.logger.edu.internet2.middleware=INFO, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%-5p %-36X{serviceId} %d{ISO8601} (%c:%L) - %m%n
+