Merge pull request #92 from vexxhost/improve-log

Improve logs and db upgrade