Home:ALL Converter>JETTY_LOGS is being appended to JETTY_HOME

JETTY_LOGS is being appended to JETTY_HOME

Ask Time:2014-05-02T08:38:43         Author:user2981810

Json Formatter

I'm trying to run Jetty on CentOS and am having problems as I am getting unexpected results when I try to set the full path for JETTY_LOGS. The system tries to take that path and append it to the path I specified in the JETTY_HOME variable.

JETTY_HOME=/usr/local/jetty/jetty-9.1.4
JETTY_USER=jetty
JETTY_PORT=8085
JETTY_HOST=0.0.0.0
JETTY_LOGS=/usr/local/jetty/jetty-9.1.4/logs

Any ideas as to what I'm doing wrong?

The error I get is:

Starting Jetty: java.io.IOException: Cannot write start.log to directory
/usr/local/jetty/jetty-9.1.4/usr/local/jetty/jetty-9.1.4/logs [directory doesn't exist or is read-only]
java.io.IOException: Cannot write start.log to directory /usr/local/jetty/jetty-9.1.4/usr/local/jetty/jetty-9.1.4/logs [directory doesn't exist or is read-only]
        at org.eclipse.jetty.start.StartLog.initLogFile(StartLog.java:127)
        at org.eclipse.jetty.start.StartLog.initialize(StartLog.java:113)
        at org.eclipse.jetty.start.Main.processCommandLine(Main.java:520)
        at org.eclipse.jetty.start.Main.main(Main.java:102)

Author:user2981810,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/23418997/jetty-logs-is-being-appended-to-jetty-home
zeppaman :

It seems that JETTY_LOG directory is relative to JETTY_HOME.\n\nCould you try to set:\n\n JETTY_LOGS=/logs\n\n\nor alternatively\n\n JETTY_HOME=/usr/local/jetty/jetty-9.1.4/\n JETTY_LOGS=logs\n",
2014-05-02T09:05:23
yy