                   (fn [instance]
                     (log/info "In cleanup fn")
                     (.terminate (:jruby-puppet instance)))]
-      (logging/with-test-logging
+      (logutils/with-test-logging
         (tk-testutils/with-app-with-config
          app
          jruby-testutils/jruby-service-and-dependencies


(deftest compat-version-in-config-throws-exception-test
  (testing "compat-version setting in configuration throws exception"
    (logging/with-test-logging
     (is (thrown-with-msg?
          IllegalArgumentException
          #"jruby-puppet.compat-version setting no longer supported"

           (is (= 200 (:status ping-before-stop))
               "environment request before stop failed")
           (let [start (System/currentTimeMillis)]
             (logutils/with-test-logging
              (while (and
                      (< (- (System/currentTimeMillis) start) 10000)
                      (not= 503 (:status (ping-environment))))
