Mantis - Resin
Viewing Issue Advanced Details
3696 minor always 09-24-09 15:06 01-07-10 13:28
copart  
ferg  
normal  
closed 3.1.8  
fixed  
none    
none 3.1.10  
0003696: ${resin.hostname} unknown despite being listed in docs
From http://caucho.com/resin-3.1/doc/el-var.xtp [^] :
resin properties:
hostname The local hostname as returned by InetAddress

I try:
timestamp="${resin.hostname} %Y-%m-%d %H:%M:%S,%s INFO RESIN - "
and get

resin.conf:405: javax.el.PropertyNotFoundException: 'hostname' is an unknown bean property of 'com.caucho.server.resin.Resin$Var'
2009-09-24 14:48:31,698
2009-09-24 14:48:31,698 403: <log name="" level="info" path="${server.root}/log/replay.log"
2009-09-24 14:48:31,698 404: timestamp="${resin.hostname} %Y-%m-%d %H:%M:%S,%s INFO RESIN - " rollover-period="1D"
2009-09-24 14:48:31,698 405: archive-format="archive/replay.%Y-%m-%d.log"/>
2009-09-24 14:48:31,698 406:
2009-09-24 14:48:31,698 407: <env-entry>

Notes
(0004255)
copart   
09-24-09 15:20   
issue is case-sensitivity; variable should be listed in docs as resin.hostName