             [clojure.java.io :as io]
             [clojure.core.async :refer [close! put! timeout sub chan <!! >!! <! >! go go-loop] :as async]
             [taoensso.timbre :as timbre]))
-
-(timbre/refer-timbre)
-#_(timbre/set-config! [:appenders :spit :enabled?] true)
-#_(timbre/set-config! [:shared-appender-config :spit-filename] "resources/collector.log")
 
 
 (deftemplate static-page


(def server-state (atom nil))


(defn dispatch
  "Dispatch incoming websocket-requests"

                    (send! channel (str (dispatch (read-string data)))))))))

(defn stream-handler
  "React to incoming tweets"
  [state tweet]
  (do
    (info (str "Storing tweet") (:id tweet))
