Log level

18 views
Skip to first unread message

Rich S

unread,
Aug 28, 2015, 7:43:06 PM8/28/15
to Monger, a Clojure MongoDB driver
Is there any Clojure way (without calling java) to set the log level to server or error? Using this driver I get lots of INFO level messages. 

Thanks,
Rich

Michael Klishin

unread,
Aug 28, 2015, 7:45:33 PM8/28/15
to clojure...@googlegroups.com, Rich S
There is no.

Here’s one way of doing it without (technically) writing Java:
https://github.com/clojurewerkz/monger.docs/pull/19

I’d consider a pull request that makes logging easier to configure but
given that it may require certain dependencies, there’s no real reason
to avoid Java. That’s not how Clojure is supposed to be used. 
--
@michaelklishin, github.com/michaelklishin
Reply all
Reply to author
Forward
0 new messages