Permalink
Browse files

Replace println's with log statements

  • Loading branch information...
1 parent 535dbd4 commit 2d466adb1c399543f0459c22de6aaad447525f76 @semperos committed Jul 25, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/clj_webdriver/properties.clj
@@ -1,7 +1,8 @@
(ns clj-webdriver.properties
(:use [clj-webdriver.util :only [read-config]]
[clojure.walk :only [keywordize-keys]])
- (:require [clojure.java.io :as io])
+ (:require [clojure.java.io :as io]
+ [clojure.tools.logging :as log])
(:import java.util.Properties))
(def ^{:dynamic true}
@@ -11,10 +12,10 @@
(keywordize-keys
(cond
(.exists (io/as-file clj-props)) (do
- (println "Reading clj props file")
+ (log/debug "Reading clj props file")
(read-config "resources/properties.clj"))
(.exists (io/as-file java-props)) (do
- (println "Reading Java properties file")
+ (log/debug "Reading Java properties file")
(into {} (doto (Properties.)
(.load (io/reader "resources/clj_webdriver.properties")))))
:else {}))))

0 comments on commit 2d466ad

Please sign in to comment.