Added audit log bean/constant in IdP 3.3

Michael A Grady mgrady at unicon.net
Tue Sep 5 21:02:45 EDT 2017


In conf/audit.xml in 3.3, there is the following:

    <!-- Override the format of date/time fields in the log and/or convert to default time zone. -->
    <!--
    <bean id="shibboleth.AuditDateTimeFormat" class="java.lang.String" c:_0="YYYY-MM-dd'T'HH:mm:ss.SSSZZ" />
    <util:constant id="shibboleth.AuditDefaultTimeZone" static-field="java.lang.Boolean.TRUE" />
    -->

Today I was trying to see how that might work, and uncommented both, and restarted the IdP, and didn't see any change in the audit log entry. Then, just to be sure there should have been a change, I changed the hard-coded 'T' to another letter and restarted. Again, no change as to the form of the timestamp in the audit log. And the wiki page lists them, but no detail, and I haven't (at least yet) surfaced any other documentation on AuditDateTimeFormat and AuditDefaultTimeZone.

What else might I need to do to make a change in the format of that audit log timestamp, and how do I change the time zone the timestamp is recorded in? (Is AuditDefaultTimeZone 'true' mean the default time zone for the system?) 

--
Michael A. Grady
IAM Architect, Unicon, Inc.





More information about the users mailing list