harrah/xsbt — Issue #325: please add toString and more debug logging
Author: thkoch2001
Created: 2012-01-04 17:13:53+00:00
State: open

I finally found the sbt log file in /tmp/sbt*.log. I missed it before because
I thought the update.log file in the boot folder would be the log.
Now I can see the debug output, but there isn't that much information to help
me debugging.

Could you/we/me please add toString methods to:
- xsbt.boot.Provider
- xsbt.boot.AppConfiguration
- sbt.State

and log.debug sbt.State.toString at
sbt.MainLoop.runWithNewLog before run(loggedState)

I tried to just add
state.log.debug("...")
at that point but it complained
Global logging misconfigured

Google's Guava libraries have the toStringHelper. Is there anything similar in
Scala?

(mail copied from mailing list, posted 22. dec)