systemd: reduce verbosity when removing a container

If a container that isn't suppose to be managed by systemd and is
removed, we used to send a warning saying that no systemd unit file was
found for this container.

Warning is too much, let's just use "info" level for that message.

Change-Id: I1c4de6e9d1347a20053cb33aea5c3cff20ab979a
This commit is contained in:
Emilien Macchi 2019-04-01 14:57:10 -04:00
parent f0c0c8e8a6
commit 6e99f2e233
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ def service_delete(container, sysdir=constants.SYSTEMD_DIR, log=None):
log.exception("systemctl failed")
raise
else:
log.warning('No systemd unit file was found for %s' % sysd_f)
log.info('No systemd unit file was found for %s' % sysd_f)
def healthcheck_create(container, sysdir='/etc/systemd/system/', log=None):