Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
salt.25404
enhance-logging-when-inotify-beacon-is-missing-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File enhance-logging-when-inotify-beacon-is-missing-pyino.patch of Package salt.25404
From cde0f9385e1afb9fa97fe2c86cfa77ae3b899aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= <psuarezhernandez@suse.com> Date: Fri, 18 Jun 2021 13:09:22 +0100 Subject: [PATCH] Enhance logging when inotify beacon is missing pyinotify (bsc#1186310) --- salt/beacons/inotify.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/salt/beacons/inotify.py b/salt/beacons/inotify.py index fa2f73c35f..a6b7548f97 100644 --- a/salt/beacons/inotify.py +++ b/salt/beacons/inotify.py @@ -49,7 +49,9 @@ log = logging.getLogger(__name__) def __virtual__(): if HAS_PYINOTIFY: return __virtualname__ - return False + err_msg = "pyinotify library is missing" + log.error("Unable to load inotify beacon: {}".format(err_msg)) + return False, err_msg def _get_mask(mask): -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor