mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-8947 - Adding some logging to better understand what's happening with the rules
This commit is contained in:
parent
59bd935f3e
commit
80b51a7972
@ -150,6 +150,8 @@ class CsNetfilters(object):
|
||||
new_rule.set_table(fw[0])
|
||||
if isinstance(fw[1], int):
|
||||
new_rule.set_count(fw[1])
|
||||
|
||||
logging.debug("Checking if the rule already exists: rule=%s table=%s chain=%s", new_rule.get_rule(), new_rule.get_table(), new_rule.get_chain())
|
||||
if self.has_rule(new_rule):
|
||||
logging.debug("Exists: rule=%s table=%s", fw[2], new_rule.get_table())
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user