logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: One Include to rule them all
Date Wed, 02 Mar 2016 18:53:50 GMT
PS: Are we talking the same thing? Document inclusion is NOT the same as
watching an external file. The former creates one seamless document; the
second one is aware that the referenced file is distinct.

Cheers,
Paul

On Wed, Mar 2, 2016 at 12:52 PM, Paul Benedict <pbenedict@apache.org> wrote:

> I agree with the initial assessment that XInclude is the way to go. If
> someone wants to use XInclude, they should provide the right parser
> implementation to make it available. I wouldn't bend over backward to do
> your own inclusion mechanism; put it on the consumer to provide the
> appropriate parser.
>
> Cheers,
> Paul
>
> On Wed, Mar 2, 2016 at 12:39 PM, Gary Gregory <garydgregory@gmail.com>
> wrote:
>
>> Stemming from discussion in
>> https://github.com/apache/logging-log4j2/pull/25
>>
>> How about finally adding our own include mechanism:
>>
>> <Include monitorIntervalSeconds="60">file://...</Include>
>>
>> If Configuration has a monitorInterval, then Includes inherit the
>> setting, if you set an Include monitorInterval to 0 then, then it is not
>> watched.
>>
>> Thoughts?
>>
>> Gary
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>
>

Mime
View raw message