             [clj-http.client :as client]
             [clojure.string :as str]
             [fs.core :as fs]
-            [slingshot.slingshot :refer [throw+]]))
+            [slingshot.slingshot :refer [throw+]]
+            [clojure.tools.logging :as log]))
 
 ;; See utils.clj for more information about base-urls.
 (def ^:dynamic *base-url* nil) ; Will not have a :version.

   :jetty {:port 0}
   :database (fixt/create-db-map)
   :command-processing {}
   :web-router-service {:puppetlabs.puppetdb.cli.services/puppetdb-service ""
                        :puppetlabs.puppetdb.metrics/metrics-service "/metrics"}})

(defn assoc-logging-config

  (str "org.apache.activemq:BrokerName="
       (url-encode (:host base-url))
       ",Type=Queue,Destination="
       svcs/mq-endpoint))

(defn mq-mbeans-found?
  "Returns true if the ActiveMQ mbeans and the discarded command
