-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Silence webjars logging during compilation #132
Comments
+1 - This is obfuscating behavior of sbt-web and I don't see a way to defeat it. |
I think that this is an issue for WebJars. I'm not seeing it though. Is it still a problem for you? |
At this point, I'm not sure which project I found it in. I'll have to poke around and get back to you. |
I recently resolved this problem in a project by straightening out all the SLF4J warnings and logback configuration. In my case I had a file named "logging.xml" that should have been "logback.xml". As soon as I renamed the file, those messages went away (and many others too). The problem, I think, is that in the absence of any log levels being defined or SLF4J having a resolved logger, the webjar library defaults to debug level and you get the verbosity .. or something like that (I didn't look into the details once it was fixed). Just thought this anecdote might help track it down. |
I think this could be related to SLF4J not resolving the correct logger but for me it only happens at compile time and is only with this specific package I attached a debugger to this and dug pretty deep. The interesting thing is that it only happens with |
I see tons of debug logging coming from
org.webjars.WebJarExtractor
. I would think putting a logback.xml inproject/src/main/resrouces
would let me control it, but that doesn't seem to work.The text was updated successfully, but these errors were encountered: