Skip to Content.
Sympa Menu

shibboleth-dev - Logger config

Subject: Shibboleth Developers

List archive

Logger config


Chronological Thread 
  • From: "Howard Gilbert" <>
  • To: <>
  • Subject: Logger config
  • Date: Wed, 18 May 2005 14:52:25 -0400

I had intended to debug my Trust code, but spent the afternoon tracking down the new configuration.

 

While I can come up with temporary workarounds for most things, one clear change is that since logging is no longer configured in a context listener, now the IdP will not initialize (it throws NullPointerException) if no <Logging> tag is specified in its XML configuration file (because it fails to initialize the "log" variable and then dies when it tries to log something). Furthermore, this particular parameter is not relative (through a ShibResource) but must be an absolute path to a file name.

 

I can do this, but its hard to distribute through the HEAD. I would suggest that there be a default logging configuration if none is provided (the obvious traditional one will do) since NPE is a bug and needs to be addressed somehow.

 

Otherwise, I need to configure a file in a reliable location, but I really think it would be better to build the default in rather than depending on it to be configured externally.




Archive powered by MHonArc 2.6.16.

Top of Page