A note about logging configuration

Tom Zeller tzeller at dragonacea.biz
Mon Jun 23 21:13:08 EDT 2014



> On Jun 23, 2014, at 7:53 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
> 
>> On 6/23/14, 8:51 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
>> 
>>> On 6/23/14, 8:08 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>>> 
>>> Just committed some changes so that Logback can be configured via
>>> properties from idp.properties as well as from the idp.home property
>>> set by the app ctx initializer. This is the workaround for not using
>>> system properties to configure Logback.
>> 
>> I'm not seeing any log files running the tests so far, I'll switch to
>> other modes.
> 
> Sigh, never mind, Eclipse playing games with me again.
> 
>> When I traced into the logging service startup, I saw that it's not
>> replacing the nested reference to ${idp.home} in the logDir property. Is
>> that resolved later by logback, or is that a bug?
> 
> Still curious about that though, because it probably has some issues with
> the changes I have in my local copy to change the delimiter. If logback is
> the thing resolving the nested property, then %{idp.home} won't work,
> obviously.
> 
> -- Scott

Well, I guess we can replace %{ with ${ in the LogbackLoggingService when it reads the property resource.


More information about the dev mailing list