plugins/untrackme: move logging to a less noisy place
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
235b7a52a4
commit
9b734c5504
1 changed files with 5 additions and 5 deletions
|
@ -111,13 +111,13 @@ class Plugin(BasePlugin):
|
||||||
if self.config.get('redirect', section='default'):
|
if self.config.get('redirect', section='default'):
|
||||||
msg['body'] = self.redirect_url(msg['body'])
|
msg['body'] = self.redirect_url(msg['body'])
|
||||||
|
|
||||||
log.debug(
|
|
||||||
'UntrackMe in tab \'%s\':\nOriginal: %s\nModified: %s',
|
|
||||||
tab.name, orig, msg['body'],
|
|
||||||
)
|
|
||||||
|
|
||||||
if self.config.get('display_corrections', section='default') and \
|
if self.config.get('display_corrections', section='default') and \
|
||||||
msg['body'] != orig:
|
msg['body'] != orig:
|
||||||
|
log.debug(
|
||||||
|
'UntrackMe in tab \'%s\':\nOriginal: %s\nModified: %s',
|
||||||
|
tab.name, orig, msg['body'],
|
||||||
|
)
|
||||||
|
|
||||||
self.api.information(
|
self.api.information(
|
||||||
'UntrackMe in tab \'{}\':\nOriginal: {}\nModified: {}'.format(
|
'UntrackMe in tab \'{}\':\nOriginal: {}\nModified: {}'.format(
|
||||||
tab.name, orig, msg['body']
|
tab.name, orig, msg['body']
|
||||||
|
|
Loading…
Reference in a new issue