mace-opensaml-users - RE: [OpenSAML] logging
Subject: OpenSAML user discussion
List archive
- From: "Scott Cantor" <>
- To: <>
- Subject: RE: [OpenSAML] logging
- Date: Thu, 5 Aug 2010 12:04:27 -0400
- Organization: The Ohio State University
> I'm just getting started with opensaml (C++) and I'm writing a small
example
> program to try out the opensaml library.
Good luck. I wish I had more documentation for you, but...
> I can see that opensaml uses log4cpp for logging, but how do I set up the
> logging? Do I have to call into the log4cpp library myself (e.g. using
> ProperyConfigurator) or is it simply a question of putting a configuration
> file in the right place? If the latter is the case, what does the
> configuration file look like?
Unless you're constrained, you should stick with the log4shib version, which
is known to be safe. Many versions of log4cpp are buggy.
But to your question, you can call into the library as you wish, or you can
supply a log4j-style properties file and call
xmltooling::XMLConfig::log_config at any time. You can find examples of the
file in Shibboleth:
http://svn.middleware.georgetown.edu/view/cpp-sp/branches/REL_2/configs/
shibd.logger.in, native.logger.in, console.logger
-- Scott
- [OpenSAML] logging, Chris Card, 08/05/2010
- RE: [OpenSAML] logging, Scott Cantor, 08/05/2010
- RE: [OpenSAML] logging, Chris Card, 08/05/2010
- RE: [OpenSAML] logging, Chris Card, 08/05/2010
- [OpenSAML] BasicCredential, Chris Card, 08/06/2010
- RE: [OpenSAML] BasicCredential, Scott Cantor, 08/06/2010
- RE: [OpenSAML] logging, Chris Card, 08/05/2010
- [OpenSAML] XSECCryptoKey, Chris Card, 08/09/2010
- RE: [OpenSAML] XSECCryptoKey, Scott Cantor, 08/09/2010
- RE: [OpenSAML] XSECCryptoKey, Chris Card, 08/09/2010
- RE: [OpenSAML] XSECCryptoKey, Scott Cantor, 08/09/2010
- RE: [OpenSAML] XSECCryptoKey, Chris Card, 08/09/2010
- RE: [OpenSAML] XSECCryptoKey, Chris Card, 08/10/2010
- RE: [OpenSAML] XSECCryptoKey, Chris Card, 08/09/2010
- RE: [OpenSAML] XSECCryptoKey, Scott Cantor, 08/09/2010
- RE: [OpenSAML] XSECCryptoKey, Chris Card, 08/09/2010
- RE: [OpenSAML] XSECCryptoKey, Scott Cantor, 08/09/2010
- RE: [OpenSAML] logging, Scott Cantor, 08/05/2010
Archive powered by MHonArc 2.6.16.