Mantis - Resin
Viewing Issue Advanced Details
4223 minor always 09-23-10 15:38 01-13-11 17:09
emil  
ferg  
normal  
closed 4.0.10  
fixed  
none    
none 4.0.15  
0004223: /etc/init.d/resin output logging
(rep by Raul Luna)

the /etc/init.d/resin file, when it starts the command it says:

          su $USER -c """$JAVA -jar $RESIN_HOME/lib/resin.jar $ARGS start""" 1>
/dev/null 2>/dev/null

so, when a java error arises, nobody notices it. Could be this fixed with
this:


          su $USER -c """$JAVA -jar $RESIN_HOME/lib/resin.jar $ARGS start"""
1>>$CONSOLE 2>>$CONSOLE

and


          CONSOLE=/var/log/resin/console.log

put at the beginning of the file. In that way, every error in the starting will
be registered (even if the machine is restarted and nobody monitors it).

There are no notes attached to this issue.