Update db.rb

fixed log file path.
Merge pull request #1 from groverz/patch-1

Update db.rb