Change unsupported fileno() LOG to debug

When restoring a volume this log lines is logged
many times but there is nothing to really do or know.

When our backup workers is busy this is just thousands
of lines that doesn't give us anything.

Change-Id: I1f356e16a0d887eba32731e822c1b6da5299965c
This commit is contained in:
Tobias Urdin 2022-03-29 07:59:42 +00:00
parent 04da59177d
commit d9d7f20c23
1 changed files with 2 additions and 2 deletions

View File

@ -736,8 +736,8 @@ class ChunkedBackupDriver(driver.BackupDriver, metaclass=abc.ABCMeta):
try:
fileno = volume_file.fileno()
except IOError:
LOG.info("volume_file does not support fileno() so skipping "
"fsync()")
LOG.debug("volume_file does not support fileno() so skipping "
"fsync()")
else:
os.fsync(fileno)