sbt-revolver icon indicating copy to clipboard operation
sbt-revolver copied to clipboard

Log adds [ERROR] to all messages

Open kirach opened this issue 7 years ago • 3 comments

I tried sbt 1.0.0 and 1.0.2 and had the same issue when was using sbt-revolver. All log messages look like it's error message. Even if it's just info or warn or whatever:

sbt:skunkworks> ~reStart
[info] Application root not yet started
root Starting com.compstak.skunkworks.Main.main()
[info] Starting application root in the background ...
[success] Total time: 1 s, completed Oct 22, 2017 10:05:56 PM
1. Waiting for source changes... (press enter to interrupt)
root[ERROR] Oct 22, 2017 10:05:58 PM com.twitter.finagle.Init$ $anonfun$once$1
root[ERROR] INFO: Finagle version 7.0.0 (rev=fae57e6086e3131a20130999e609bb187adb4bbd) built at 20170816-173649

kirach avatar Oct 23 '17 02:10 kirach

Did anybody find a fix for this?

etaque avatar Feb 02 '18 09:02 etaque

Could you post how it looks when you run the same application with sbt-revolver?

jrudolph avatar Feb 02 '18 09:02 jrudolph

Just found a fix: I was using slf4j-jdk without any specific settings. Switched to scala-logging and logback with a proper logback.xml and output is good now. Thanks for the quick answer and have a nice day!

etaque avatar Feb 02 '18 09:02 etaque