Hi Bruce,
Can you show us the contents of your log4j.properties file? The IdP
configuration
> <Logging>
> <Log4JConfig
location="file:/usr/local/tomcat5.5/common/classes/log4j.properties" />
> </Logging>
is using your Tomcat log4j.properties file which might not be handling
logging for your IdP classes unless you've modified it.
Cheers,
Sam
Sam Rowley
Learning Development Manager
Learning Development and Innovation
Academic Development Institute
Staffordshire University
College Road
Stoke-on-Trent
ST4 2XS
Telephone: 01782 29 5730
Email: [log in to unmask] <mailto:[log in to unmask]>
> -----Original Message-----
> From: Discussion list for Shibboleth developments
> [mailto:[log in to unmask]] On Behalf Of Bruce Rodger
> Sent: 15 August 2008 13:24
> To: [log in to unmask]
> Subject: idp logging question
>
> No doubt this question is going to make me look stupid, but
> I've been staring at this for ages, and can't work out what
> I'm doing wrong!
>
> I have changed our idp to use log4j
>
> So as described in the comments in idp.xml, I have
>
> <!--
> <Logging>
> <ErrorLog level="INFO"
> location="file:/usr/local/shibboleth-idp/logs/shib-error.log" />
> <TransactionLog level="INFO"
> location="file:/usr/local/shibboleth-idp/logs/shib-access.log" />
> </Logging>
> -->
> <!-- Uncomment the configuration section below and
> comment out the one above if you would like to manually
> configure log4j -->
> <Logging>
> <Log4JConfig
> location="file:/usr/local/tomcat5.5/common/classes/log4j.prope
> rties" />
> </Logging>
>
> I have also modified log4j.properties to allow syslogging as
> well as flat file
>
> And bits of it work!
>
> But I'm now getting some data in my tomcat stdout.log that
> doesn't appear in any of the "real" logfiles...
>
> 2008-08-15 12:59:23,424 Authentication assertion
> (_df7f546f41edada9fbe68d1fd1090d91) issued to provider
> (urn:mace:ac.uk:sdss.ac.uk:provider
> :service:target.iay.org.uk) on behalf of principal (XXXXXX).
> Name Identifier: (_34d7d3119ac6857b4d10e3056d74cb3e). Name
> Identifier Format:
> (urn:mace:shibboleth:1.0:nameIdentifier).
> 2008-08-15 12:59:25,992 Attribute assertion
> (_28aa0954169c5413d5682dda7465a0c4) issued to provider
> (urn:mace:ac.uk:sdss.ac.uk:provider:serv
> ice:target.iay.org.uk) on behalf of principal (XXXXXX).
>
> What magic runes do I need in my log4j.properties to get
> these into the right place!
>
> Bruce.
>
>
>
>
>
> --
> Bruce Rodger [log in to unmask]
> Network Manager, IT Services
> |http://www.strath.ac.uk/IT/People/bruce.html
> The University of Strathclyde | +44 (0)141 548 3300
> Glasgow G4 0LN, Scotland. | Fax 553 4100
>
> "The University of Strathclyde is a charitable body,
> registered in Scotland, number SC015263."
>
The information in this email is confidential and is intended solely for the addressee. Access to this email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, except for the purpose of delivery to the addressee, is prohibited and may be unlawful. Kindly notify the sender and delete the message and any attachment from your computer.
|