diff options
author | Anders Svensson <[email protected]> | 2015-12-09 11:23:04 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-12-09 14:42:28 +0100 |
commit | 6121107d63ef65b6b96c99684181578db2eea3aa (patch) | |
tree | 3809a4011e8c1db295ccba80c44f35655ab7e4ac /lib/diameter | |
parent | 23790daf1a2d384b0fc11c655fa825151d9fa420 (diff) | |
download | otp-6121107d63ef65b6b96c99684181578db2eea3aa.tar.gz otp-6121107d63ef65b6b96c99684181578db2eea3aa.tar.bz2 otp-6121107d63ef65b6b96c99684181578db2eea3aa.zip |
Remove logging of faulty answer messages
Since excessive numbers of them can overload a node with logging.
Note that most log messages have been removed in OTP 17.1, and replaced
by counters. In particular, logging as a result of incoming traffic,
over which we have no control, is dangerous.
Diffstat (limited to 'lib/diameter')
-rw-r--r-- | lib/diameter/src/base/diameter_traffic.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/diameter/src/base/diameter_traffic.erl b/lib/diameter/src/base/diameter_traffic.erl index 8b6f026b34..54b0daf7f9 100644 --- a/lib/diameter/src/base/diameter_traffic.erl +++ b/lib/diameter/src/base/diameter_traffic.erl @@ -1072,8 +1072,7 @@ int(_) -> -spec x(any(), atom(), list()) -> no_return(). %% Warn and exit request process on errors in an incoming answer. -x(Reason, F, A) -> - diameter_lib:warning_report(Reason, {?MODULE, F, A}), +x(Reason, _F, _A) -> x(Reason). x(T) -> |