pingles / clj-hector

Simple Cassandra client for Clojure
42 stars 19 forks source link

suppress log output in test run #44

Open pingles opened 11 years ago

pingles commented 11 years ago

Cassandra and Hector log a lot of information during the average test run. This masks the output from the tests, by default I'd like this to be suppressed, perhaps with a way of specifically enabling it for certain test runs from the repl?

ryfow commented 11 years ago

I looked at this a while back and didn't find an easy way to pass System properties into the process that EmbeddedCassandraService kicks off. Maybe it'll be obvious to someone else.

In the meantime, I just run tests like so: lein test 2> /dev/null. Most of the useful output from lein test goes to standard out.