Skip to Content.
Sympa Menu

shibboleth-dev - Re: Logger config

Subject: Shibboleth Developers

List archive

Re: Logger config


Chronological Thread 
  • From: Walter Hoehn <>
  • To: "Howard Gilbert" <>
  • Cc: <>
  • Subject: Re: Logger config
  • Date: Wed, 18 May 2005 13:58:23 -0500

On May 18, 2005, at 1:52 PM, Howard Gilbert wrote:
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.

Umm...yeah. That's definitely how the old logging loader worked. I've added this to my pre-beta TODO list.

Thanks,
Walter




Archive powered by MHonArc 2.6.16.

Top of Page