     '/var/log/qiprofile.log'
   catch err
     './log/qiprofile.log'
- 
+
 # The log file is either set in the environment or defaults to
 # log/qiprofile.log in the current directory.
 relLogFile = app.get('log') or defaultLogFile()

QIREST_PORT = 5000

# The grunt build tasks place all compiled and copied files within
# the public directory.
root = path.join(__dirname, '..')

# The REST request handler.

      env = app.settings.env
      console.log "The qiprofile server is listening on port #{ port }" +
                  " in #{ env } mode."

  # Start the REST app without logging to the console.
  spawn(qirest, QIREST_PORT, start_eve, {silent: true})

