debugging improvements

add timestamps to debug messages

Add lots of debug output in the assistant's threads.
This commit is contained in:
Joey Hess 2012-07-20 19:29:59 -04:00
parent 42e73537d1
commit b48d7747a3
11 changed files with 175 additions and 44 deletions

View file

@ -82,7 +82,7 @@
module Assistant where
import Common.Annex
import Assistant.Common
import Assistant.ThreadedMonad
import Assistant.DaemonStatus
import Assistant.Changes
@ -136,6 +136,8 @@ startDaemon assistant foreground
, mountWatcherThread st dstatus
, watchThread st dstatus transferqueue changechan
]
debug "assistant"
["all git-annex assistant threads started"]
waitForTermination
stopDaemon :: Annex ()