Improved logging in the history daemon
Merge pull request #128 from xuhcc/logging

Improved logging in the history daemon