bhauman / figwheel-main

Figwheel Main provides tooling for developing ClojureScript applications
https://figwheel.org
Eclipse Public License 1.0
640 stars 93 forks source link

Luminus with Figwheel main produces unwanted log messages #246

Closed aratare-jp closed 4 years ago

aratare-jp commented 4 years ago

Hi there,

I'm having a problem with figwheel main producing massive amount of logs whenever I run it.

For context, I'm using Luminus with Figwheel main, and running figwheel via lein fig -- -b dev -r. Figwheel runs just fine with all features available. However as stated before the REPL is flooded with log messages.

I don't know if this helps but here's a small section of what it looks like

17:51:37.505 [main] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Slf4jLoggerProvider
17:51:39.767 [main] DEBUG org.eclipse.jetty.util.log - Logging to Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog
17:51:39.774 [main] INFO  org.eclipse.jetty.util.log - Logging initialized @17790ms to org.eclipse.jetty.util.log.Slf4jLog

I've tried configuring figwheel via dev.cljs.edn and project.clj but so far it's still happening. From my quick research it seems really similar to #162 but I don't have Timbre afaik.

Is there anyway I can turn this off?

Thanks in advance.

aratare-jp commented 4 years ago

So I've found the problem. luminus-immutant was interfering with the Jetty server and hence caused those unwanted logs. Moving to luminus-http-kit solves the problem nicely. I'm closing this issue now.