Mantis - Resin
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Severity:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
4753 |
|
minor |
always |
09-08-11 13:03 |
09-09-11 15:35 |
|
Reporter:
|
chris214 |
Platform:
|
|
|
Assigned To:
|
alex |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
4.0.22 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
Projection:
|
none |
|
|
|
ETA:
|
none |
Fixed in Version:
|
4.0.23 |
|
|
Summary:
|
0004753: EL variables do not work in <log-handler> path attribute values |
Description:
|
For example, if I define this element in resin.xml:
<log-handler name="distribution" level="info"
path="logs/distribution-${resin.serverId}.log" timestamp="[%H:%M:%S.%s] "
format="${log.message}" rollover-period="1D"/>
The ${resin.serverId} variable and others I have tried end up getting replaced with an empty string when the log is created.
|
Steps To Reproduce:
|
|
Additional Information:
|
The variables DO work in the path attributes of <stdout-log> and <stderr-log> elements. |
Relationships | |
Attached Files:
|
|