Improve logging for Jake
Add dbh to log file