shibboleth-dev - RE: shib target stuff logs with UNIX time ?
Subject: Shibboleth Developers
List archive
- From: "RL 'Bob' Morgan" <>
- To: Shibboleth Design Team <>
- Subject: RE: shib target stuff logs with UNIX time ?
- Date: Tue, 25 Mar 2003 17:23:33 -0800 (PST)
On Sat, 22 Mar 2003, Scott Cantor wrote:
> > Would seem more normal to use local time string values like
> > other things do. I poked thru the log4cpp docs but couldn't
> > find anything obvious about whether this can be configured.
>
> I'm fairly certain that the subset of log4j syntax that it supports
> includes some support for custom layouts, including timestmap
> formatting.
Some grovelling thru the code led me to substitute, in each of the
*.logger files in /opt/shibboleth/etc/shibboleth/, for this original line:
log4j.appender.syslog.layout=org.apache.log4j.BasicLayout
these new lines:
log4j.appender.syslog.layout=org.apache.log4j.PatternLayout
log4j.appender.syslog.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S} %p
%c %x: %m%n
(without the line break), which makes log entries come out as:
2003-03-25 17:19:33 DEBUG shibtarget::ResourceEntry [3] get_assertions
getAssertions populate isValid: yep, all still valid
So we may want to put lines like the above into the distributed logger
files.
- RL "Bob"
------------------------------------------------------mace-shib-design-+
For list utilities, archives, subscribe, unsubscribe, etc. please visit the
ListProc web interface at
http://archives.internet2.edu/
------------------------------------------------------mace-shib-design--
- shib target stuff logs with UNIX time ?, RL 'Bob' Morgan, 03/21/2003
- Re: shib target stuff logs with UNIX time ?, Derek Atkins, 03/24/2003
- <Possible follow-up(s)>
- RE: shib target stuff logs with UNIX time ?, RL 'Bob' Morgan, 03/25/2003
Archive powered by MHonArc 2.6.16.