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:
parent
95e2f5dbb1
commit
272785a780
@ -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'))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user