[cpp-sp] branch master updated: SSPCPP-809 - Freshen default audit log format
Scott Cantor
cantor.2 at osu.edu
Fri Jun 1 15:05:47 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=3533c1e1bc07a142da12bf0c98822a1fef5534ed
The following commit(s) were added to refs/heads/master by this push:
new 3533c1e SSPCPP-809 - Freshen default audit log format
3533c1e is described below
commit 3533c1e1bc07a142da12bf0c98822a1fef5534ed
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Jun 1 15:05:21 2018 -0400
SSPCPP-809 - Freshen default audit log format
https://issues.shibboleth.net/jira/browse/SSPCPP-809
---
configs/example-shibboleth2.xml | 4 +---
configs/shibboleth2.xml | 5 ++---
configs/shibd.logger.in | 2 +-
configs/win-shibboleth2.xml | 5 ++---
4 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/configs/example-shibboleth2.xml b/configs/example-shibboleth2.xml
index 4dcbff1..8840241 100644
--- a/configs/example-shibboleth2.xml
+++ b/configs/example-shibboleth2.xml
@@ -1,12 +1,10 @@
<SPConfig xmlns="urn:mace:shibboleth:3.0:native:sp:config"
xmlns:conf="urn:mace:shibboleth:3.0:native:sp:config"
- xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
- xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
clockSkew="180">
<!-- The OutOfProcess section contains properties affecting the shibd daemon. -->
- <OutOfProcess logger="shibd.logger">
+ <OutOfProcess logger="shibd.logger" tranLogFormat="%u|%s|%IDP|%i|%ac|%t|%attr|%n|%b|%E|%S|%SS|%L|%UA|%a">
<!--
<Extensions>
<Library path="odbc-store.so" fatal="true"/>
diff --git a/configs/shibboleth2.xml b/configs/shibboleth2.xml
index 9a8c06f..e55fcdc 100644
--- a/configs/shibboleth2.xml
+++ b/configs/shibboleth2.xml
@@ -1,10 +1,9 @@
<SPConfig xmlns="urn:mace:shibboleth:3.0:native:sp:config"
xmlns:conf="urn:mace:shibboleth:3.0:native:sp:config"
- xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
- xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
- xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
clockSkew="180">
+ <OutOfProcess tranLogFormat="%u|%s|%IDP|%i|%ac|%t|%attr|%n|%b|%E|%S|%SS|%L|%UA|%a" />
+
<!--
By default, in-memory StorageService, ReplayCache, ArtifactMap, and SessionCache
are used. See example-shibboleth3.xml for samples of explicitly configuring them.
diff --git a/configs/shibd.logger.in b/configs/shibd.logger.in
index cd95fc7..d49ef5c 100644
--- a/configs/shibd.logger.in
+++ b/configs/shibd.logger.in
@@ -64,7 +64,7 @@ log4j.appender.tran_log.fileName=@-PKGLOGDIR-@/transaction.log
log4j.appender.tran_log.maxFileSize=1000000
log4j.appender.tran_log.maxBackupIndex=20
log4j.appender.tran_log.layout=org.apache.log4j.PatternLayout
-log4j.appender.tran_log.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n
+log4j.appender.tran_log.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S}|%c|%m%n
log4j.appender.sig_log=org.apache.log4j.FileAppender
log4j.appender.sig_log.fileName=@-PKGLOGDIR-@/signature.log
diff --git a/configs/win-shibboleth2.xml b/configs/win-shibboleth2.xml
index f4f0db4..532d499 100644
--- a/configs/win-shibboleth2.xml
+++ b/configs/win-shibboleth2.xml
@@ -1,10 +1,9 @@
<SPConfig xmlns="urn:mace:shibboleth:3.0:native:sp:config"
xmlns:conf="urn:mace:shibboleth:3.0:native:sp:config"
- xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
- xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
- xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
clockSkew="180">
+ <OutOfProcess tranLogFormat="%u|%s|%IDP|%i|%ac|%t|%attr|%n|%b|%E|%S|%SS|%L|%UA|%a" />
+
<!--
The InProcess section contains settings affecting web server modules.
Required for IIS, but can be removed when using other web servers.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list