aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-05-14 17:00:34 +0200
committerLukas Larsson <[email protected]>2018-05-21 17:43:53 +0200
commitee9e7de41ec6b14857a2e32099cf76b425c3b778 (patch)
tree555b81e231a1ac346b07c8748155f88f4dccc2b8
parentbfe8a57bb9356415e6438f0deb410b03a7c602d1 (diff)
downloadotp-ee9e7de41ec6b14857a2e32099cf76b425c3b778.tar.gz
otp-ee9e7de41ec6b14857a2e32099cf76b425c3b778.tar.bz2
otp-ee9e7de41ec6b14857a2e32099cf76b425c3b778.zip
Add filter to sasl_h which stops log events with remote gl
-rw-r--r--lib/sasl/src/sasl.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sasl/src/sasl.erl b/lib/sasl/src/sasl.erl
index 2bf11bdcdf..9359bdb30e 100644
--- a/lib/sasl/src/sasl.erl
+++ b/lib/sasl/src/sasl.erl
@@ -142,7 +142,9 @@ add_sasl_logger(Dest, Level) ->
#{level=>Level,
filter_default=>stop,
filters=>
- [{sasl_domain,
+ [{remote_gl,
+ {fun logger_filters:remote_gl/2,stop}},
+ {sasl_domain,
{fun logger_filters:domain/2,
{log,equals,[beam,erlang,otp,sasl]}}}],
logger_std_h=>#{type=>Dest},