kaocha

imre 2024-01-16T17:38:29.277629Z

Is there a configuration where I can affect what level logs are going to be printed when using kaocha-cloverage?

imre 2024-01-17T08:21:01.581109Z

Ah, okay, thank you. It must be picking up the project's own logging configuration then.

imre 2024-01-16T17:38:51.435469Z

I'm getting a lot of method too large exceptions so I'm setting up exclusions

imre 2024-01-16T17:39:09.388749Z

And now my test output is flooded with lines like 18:21:00.359 [main] INFO cloverage.instrument [] [ ] - Excluded form (clojure.core.async.impl.ioc-macros/aget-object state_125342 52) {}

plexus 2024-01-17T06:04:57.378389Z

seems like generic logging setup, not kaocha specific. It would depend on what your logging backend is.

plexus 2024-01-17T06:07:26.507579Z

Looks like cloverage uses clojure.tools.logging, which tries a number of backends in order https://github.com/clojure/tools.logging

plexus 2024-01-17T06:08:05.885839Z

1. SLF4J 2. Apache Commons Logging 3. Log4J 2 4. Log4J 5. java.util.logging

plexus 2024-01-17T06:08:33.768759Z

I would do a clj -Stree | grep log to figure out what you have, then look at the docs for that backend for how to configure log levels

plexus 2024-01-17T06:09:37.409809Z

note that the things in this list will often still delegate to something else, e.g. slf4j is just an API, and will delegate the actual logging to something like logback