log_with_commit method
PyLogWithDictCommit log_with_commit fix