Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004784 [Resin] minor always 10-03-11 15:03 10-05-11 11:39
Reporter chris214 View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.24 Product Version 4.0.23
  Product Build
Summary 0004784: EL/log-handler bug not fixed in 4.0.23
Description Bug 0004753, "EL variables do not work in <log-handler> path attribute values," does not appear to have been fixed in build 4.0.23 as reported.
Steps To Reproduce
Additional Information This may delay our upgrade of Resin 3.0 to Resin 4.0.
Attached Files

- Relationships

- Notes
(0005536)
alex
10-04-11 15:31

chris, I just tried
  <log-handler name="" level="all" path="log/foo-${serverId}.log"/>
and it worked for me.

What is the expression that does not work for you?
 
(0005540)
chris214
10-05-11 08:26

${serverId} is working now, but ${resin.serverId} is not, whereas that expression does work in the <stdout-log> tag.

Also, variables declared using <resin:set> do not get translated either. For example this does not work:

<resin:set var="myVar" value="someValue"/>
<log-handler name="abc" level="info" path="abc-${myVar}.log" timestamp="[%H:%M:%S.%s]"/>

Once again, this does work in <stdout-log> and <stderr-log> tags.
 
(0005541)
ferg
10-05-11 11:39

env/02sf

 

- Issue History
Date Modified Username Field Change
10-03-11 15:03 chris214 New Issue
10-03-11 15:03 chris214 Issue Monitored: chris214
10-04-11 15:31 alex Note Added: 0005536
10-04-11 15:45 alex Note Added: 0005537
10-04-11 15:46 alex Note View State: private: 5537
10-05-11 08:26 chris214 Note Added: 0005540
10-05-11 11:39 ferg Note Added: 0005541
10-05-11 11:39 ferg Assigned To  => ferg
10-05-11 11:39 ferg Status new => closed
10-05-11 11:39 ferg Resolution open => fixed
10-05-11 11:39 ferg Fixed in Version  => 4.0.24


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