            (await pool-agent)
            (is (logged? #"In cleanup fn")))))))
   (testing "flushing the pool does not leave orphaned timeout threads"
-    (logging/with-test-logging
+    (logutils/with-test-logging
       (tk-testutils/with-app-with-config
        app
        jruby-testutils/jruby-service-and-dependencies

             (is (not= :timed-out (timed-deref stop-complete?))
                 (str "timed out waiting for the stop to complete, stack:\n"
                      (get-all-stack-traces-as-str)))
             (logging/with-test-logging
              (is (= 503 (:status (ping-environment)))))))
         (finally
           ;; Stop the tk app.  In success cases, this will end up being done

            [puppetlabs.trapperkeeper.services.protocols.metrics :as metrics-protocol]
            [puppetlabs.trapperkeeper.services.webserver.jetty9-service :as jetty9]
            [puppetlabs.trapperkeeper.testutils.bootstrap :as tk-testutils]
            [puppetlabs.trapperkeeper.testutils.logging :as logutils])
  (:import (com.codahale.metrics MetricRegistry)
           (java.io ByteArrayOutputStream)
