Re: [logback-dev] Question about LoggerContext.putProperty and putObject

2009-03-13 Thread Ceki Gulcu
Hi Joern, AccessEvent does not have a field referencing its context. However, there is no reason why such a field could not be added. As a side note, all contexts have properties. Would you care to create a jira issue requesting this enhancement? BTW, assuming its not confidential, could you pl

Re: [logback-dev] Question about LoggerContext.putProperty and putObject

2009-03-13 Thread Joern Huxhorn
Hi Ceki, is there a similar way in case of AccessEvents? It seems like AccessEvent does not have any information about something like a LoggerContext - at least I couldn't find anything. Joern. Ceki Gulcu wrote: > > It is possible to set properties from a config file. This is > documented at: > >

Re: [logback-dev] Question about LoggerContext.putProperty and putObject

2009-03-10 Thread Joern Huxhorn
Hi Ceki, thanks for your answer, it really helped me. I googled it but didn't find it :p Joern. Ceki Gulcu wrote: > > It is possible to set properties from a config file. This is > documented at: > > http://logback.qos.ch/manual/configuration.html#variableSubstitution > http://logback.qos.ch/man

Re: [logback-dev] Question about LoggerContext.putProperty and putObject

2009-03-10 Thread Ceki Gulcu
It is possible to set properties from a config file. This is documented at: http://logback.qos.ch/manual/configuration.html#variableSubstitution http://logback.qos.ch/manual/configuration.html#insertFromJNDI LoggerContext properties also survive serialization. However, in future releases I'd li

[logback-dev] Question about LoggerContext.putProperty and putObject

2009-03-09 Thread Joern Huxhorn
Hi, I'd like to know if it's possible to set properties and/or objects of the LoggerContext using a standard joran config file. At the moment, my own appender has a setApplicationIdentifier so I'm able to easily identify different apps running on the same host. Would it be possible to use t