fedmsg: stop notifying on error sent by notifs-backend
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
36616fc521
commit
e9eb9d3167
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ class ContextInjector(logging.Filter):
|
||||||
current_hostname = socket.gethostname()
|
current_hostname = socket.gethostname()
|
||||||
|
|
||||||
record.host = current_hostname
|
record.host = current_hostname
|
||||||
|
if "notifs-backend" in current_hostname:
|
||||||
|
return False
|
||||||
record.proc = current_process
|
record.proc = current_process
|
||||||
record.pid = current_process.pid
|
record.pid = current_process.pid
|
||||||
record.proc_name = current_process.name
|
record.proc_name = current_process.name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue