1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Firewall applier logging improved

This commit is contained in:
Игорь Чудов 2020-06-30 17:55:56 +04:00
parent 95e2f5dbb1
commit 272785a780
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -16,7 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import logging
from util.logging import slogm
from .applier_frontend import (
applier_frontend
, check_enabled
@ -45,5 +46,8 @@ class firewall_applier(applier_frontend):
def apply(self):
if self.__module_enabled:
logging.debug(slogm('Running Firewall applier for machine'))
self.run()
else:
logging.debug(slogm('Firewall applier will not be started'))