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:
parent
f0c0c8e8a6
commit
6e99f2e233
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue