Skip to content

Commit

Permalink
Merge pull request #48 from jib/log-to-stdout
Browse files Browse the repository at this point in the history
* document how to log to stdout
  • Loading branch information
aphyr committed Nov 9, 2012
2 parents 1e760a3 + 36e0469 commit fad160f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riemann/logging.clj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
(defn init
"Initialize log4j. You will probably call this from the config file. Options:
:file The file to log to."
:file The file to log to. Use \"/dev/null\" to log to stdout only."
[& { :keys [file] }]
(let [filename (or file "riemann.log")
rolling-policy (doto (TimeBasedRollingPolicy.)
Expand Down

0 comments on commit fad160f

Please sign in to comment.