A temporary directory is used for the data directory, incorporating the pid
in the directory name. If set then the data directory will be stored in $GATEWAY_HOME,
if not it will be placed in /tmp
If $GATEWAY_HOME is set then the log files will be written to $GATEWAY_HOME/log