Permalink
Browse files

Merge pull request #3 from ray1729/master

This fixes a trivial bug in log4j-colorless-pre-logger, which should have a second argument.
  • Loading branch information...
2 parents 28de8ec + 75b04fd commit 60e82347f713899813aa781c40edd79811e90744 @pjlegato committed Jun 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ring/middleware/logger.clj
@@ -125,9 +125,9 @@ logger for the application."
(log/info (str "[" (format-id id) "] Starting " request-method " " uri (if query-string (str "?" query-string)) " for " remote-addr)))
(defn- log4j-colorless-pre-logger
- [id]
+ [id request]
"Like log4j-pre-logger, but doesn't log any ANSI color codes."
- (ansi/without-ansi (log4j-pre-logger id)))
+ (ansi/without-ansi (log4j-pre-logger id request)))
(defn- log4j-post-logger
[id

0 comments on commit 60e8234

Please sign in to comment.