       errors (exit 1 (str (error-msg errors) "\n\n" (usage summary))))
     (init-logging)
     (.addShutdownHook (Runtime/getRuntime) (Thread. stop-servers))
-    (clojure.pprint/pprint options)
+    (reset! ola-client/olad-host (:olad-host options))
+    (reset! ola-client/olad-port (:olad-port options))
+    (timbre/info "Will find OLA daemon on host" @ola-client/olad-host ", port" @ola-client/olad-port)
     (start-web-server (:web-port options) true)
     (timbre/info "Web UI server on port:" (:web-port options))
     (start-osc-server (:osc-port options))

    :validate [#(< 0 % 0x10000) "Must be a number between 0 and 65536"]]
   ["-r" "--repl-port PORT" "Port number for REPL, if desired"
    :default (env :repl-port)
    :parse-fn #(Integer/parseInt %)
    :validate [#(< 0 % 0x10000) "Must be a number between 0 and 65536"]]])


   (reset! appenders appenders-map)
   (init-logging)))

(defn- valid-host?
  "Check whether a string represents a valid host name."
  [name]
  (try
    (InetAddress/getByName name)
    true
    (catch Exception e
      false)))

(def cli-options
  "The command-line options supported by Afterglow."
  [["-w" "--web-port PORT" "Port number for web UI"
