sbt/internal/util-logging/src
bitloi 217e0091f9 [2.x] fix: sbt -debug doesn't display loading log (#8819)
* Fix #4979: apply -debug (and other level options) at startup so loading shows debug log

- Parse log level from configuration.arguments in StandardMain.initialState
- Pass initialLevel to GlobalLogging.initial so console appender uses it from first log
- Set Keys.logLevel and BasicKeys.explicitGlobalLogLevels in initial state when level option present
- Add initialLevel parameter to GlobalLogging.initial (default Level.Info) for backward compatibility
- Add InitialLogLevelSpec tests for logLevelFromArguments
- Add docs/fix-4979-manual-verification.md for manual reproduction
2026-05-17 03:29:25 -04:00
..
main [2.x] fix: sbt -debug doesn't display loading log (#8819) 2026-05-17 03:29:25 -04:00
test [2.x] test: Migrate ManagedLoggerSpec.scala to verify.BasicTestSuite (#8548) 2026-01-15 23:16:54 -05:00