   a UUID so it's easy to search for. If request id is not set the thread name or id will be used."
   nil)
 
-;; TODO test logging by running an application
 ;; Checkout the config before and after
 (defn- setup-logging
   "Configures logging using Timbre."

      (.. (io/file file) getParentFile mkdirs)
      (t/merge-config! {:appenders {:spit (a/spit-appender {:fname file})}})))


  ;; Set the format for logging.
  (t/merge-config! {:output-fn
                    (fn [{:keys [level ?err_ msg_ timestamp_ hostname_ ?ns-str] :as data}]

   ;; The path to the file to log to
   file
   ;;
   stdout-enabled?]


  lifecycle/Lifecycle

