sbt 1.3.8 displaying a lot of useless messages

。_饼干妹妹 提交于 2020-06-16 17:17:14

问题


After I upgrade sbt to 1.3.8, I see a lot of unuseful messages in the sbt console, which is very annoying. I searched online but didn't find a good key word. Does anyone know how to disable the messages showing like below?

  | => Zero / checkBuildSources / dynamicInputs 0s


  | => Zero / checkBuildSources / dynamicInputs 0s





  | => Global / previousCache 0s

  | => Zero / checkBuildSources / dynamicInputs 0s



  | => Global / previousCache 0s

回答1:


These messages are progress logging from the sbt "super-shell". You can disable it using the sbt.supershell option, e.g.

sbt -Dsbt.supershell=false

Or by adding it to your .sbtopts file or SBT_OPTS env var (check sbt -help for details on how to use them). See also Command Line Options for the reference.



来源:https://stackoverflow.com/questions/61432711/sbt-1-3-8-displaying-a-lot-of-useless-messages

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!