Add dbh to log file