python/aqmp: Reduce severity of EOFError-caused loop terminations
commit3e55dc35b8ed8cea53ef2604874d2fe882fbadc1
authorJohn Snow <jsnow@redhat.com>
Thu, 23 Sep 2021 00:49:27 +0000 (22 20:49 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 12 Oct 2021 16:22:11 +0000 (12 12:22 -0400)
tree2f272f18e7fb4405387d225944e28a9e504ccfc8
parent58026b11f36f9a19fd35fdfbfa50be7bd78e70a5
python/aqmp: Reduce severity of EOFError-caused loop terminations

When we encounter an EOFError, we don't know if it's an "error" in the
perspective of the user of the library yet. Therefore, we should not log
it as an error. Reduce the severity of this logging message to "INFO" to
indicate that it's something that we expect to occur during the normal
operation of the library.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20210923004938.3999963-7-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/aqmp/protocol.py