Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004753 [Resin] minor always 09-08-11 13:03 09-09-11 15:35
Reporter chris214 View Status public  
Assigned To alex
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.23 Product Version 4.0.22
  Product Build
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.
Attached Files

- Relationships

- Notes
(0005498)
alex
09-09-11 15:35

env/025m
 
(0005499)
alex
09-09-11 15:35

env/025m
 

- Issue History
Date Modified Username Field Change
09-08-11 13:03 chris214 New Issue
09-09-11 13:23 chris214 Issue Monitored: chris214
09-09-11 15:34 alex Status new => assigned
09-09-11 15:34 alex Assigned To  => alex
09-09-11 15:35 alex Status assigned => closed
09-09-11 15:35 alex Note Added: 0005498
09-09-11 15:35 alex Resolution open => fixed
09-09-11 15:35 alex Fixed in Version  => 4.0.23
09-09-11 15:35 alex Note Added: 0005499


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker