t;>
>>
>>
>> Gesendet: Montag, 04. Januar 2016 um 14:45 Uhr
>> Von: "Veit Guna"
>> An: log4j-user@logging.apache.org
>> Betreff: Placeholder substitution in config xml
>> Hi.
>>
>> I'm using log4j 2.5 in a REST service.
&
t;-Dmyapp.logs=foobar", of
> course.
> Just a typo during posting...
>
>
>
>
> Gesendet: Montag, 04. Januar 2016 um 14:45 Uhr
> Von: "Veit Guna"
> An: log4j-user@logging.apache.org
> Betreff: Placeholder substitution in config xml
> Hi.
>
> I&
Small correction: the system property is set via "-Dmyapp.logs=foobar", of
course.
Just a typo during posting...
Gesendet: Montag, 04. Januar 2016 um 14:45 Uhr
Von: "Veit Guna"
An: log4j-user@logging.apache.org
Betreff: Placeholder substitution in config xml
Hi.
I
Hi.
I'm using log4j 2.5 in a REST service.
There I would like to use the placeholder substitution to allow configuration
of the log location.
I tried this:
${sys:mypapp.logs:-${env:MYAPP_LOGS:-logs}}
This seems to work quite well with the exception, if myapp.logs is set, the path
en