As described in Change the logging level globally for sbt:
To set the logging level before any commands are executed on startup,
use -- before the logging level
There are four logging levels:
If you need one applied "at the command line without modifying the existing configuration", execute the sbt
launcher with appropriate level prefixed with double dashes.
jacek:~/oss/scalania
$ sbt --debug
[debug] > boot
[debug] > reload
[debug] > sbtStashOnFailure
[debug] > onFailure load-failed
[debug] > loadp
[info] Loading global plugins from /Users/jacek/.sbt/0.13/plugins
[debug] Running task... Cancelable: false, check cycles: false
[debug]
With sbt.boot.properties
you may get sbt
internal logs printed out, too. See Launcher Specification.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…