added method to obtain the log from the database driver