TRACE log when we set an STS policy

This commit is contained in:
jesopo 2018-11-05 14:57:34 +00:00
parent edbacce1fc
commit 90a72eb24d

View file

@ -5,6 +5,7 @@ class Module(ModuleManager.BaseModule):
def _get_policy(self, server): def _get_policy(self, server):
return server.get_setting("sts-policy", None) return server.get_setting("sts-policy", None)
def _set_policy(self, server, policy): def _set_policy(self, server, policy):
self.log.trace("Setting STS policy for '%s': %s", [str(server), policy])
server.set_setting("sts-policy", policy) server.set_setting("sts-policy", policy)
def _remove_policy(self, server): def _remove_policy(self, server):
server.del_setting("sts-policy") server.del_setting("sts-policy")