Print

Print


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.properties" />
         </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."