aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-03-01 10:19:55 +0100
committerSiri Hansen <[email protected]>2016-03-01 10:19:55 +0100
commit343ab7e12a9be10128ce6dd0d083ae0b6bf15019 (patch)
tree84eee17ebf7707db60b4eb97938a41a6e6bb559a /lib
parent6f8997c001a17b9d9322e26757690489d6111dac (diff)
downloadotp-343ab7e12a9be10128ce6dd0d083ae0b6bf15019.tar.gz
otp-343ab7e12a9be10128ce6dd0d083ae0b6bf15019.tar.bz2
otp-343ab7e12a9be10128ce6dd0d083ae0b6bf15019.zip
Log open and close of netconf connections
Commit 4cf832f1ad163f5b25dd8a6f2d314c169c23c82f erroneously removed logging of open and close of netconf connections. This is now corrected.
Diffstat (limited to 'lib')
-rw-r--r--lib/common_test/src/ct_conn_log_h.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_conn_log_h.erl b/lib/common_test/src/ct_conn_log_h.erl
index f7615fdc14..93f358462d 100644
--- a/lib/common_test/src/ct_conn_log_h.erl
+++ b/lib/common_test/src/ct_conn_log_h.erl
@@ -117,7 +117,7 @@ write_report(Time,#conn_log{module=ConnMod}=Info,Data,GL,State) ->
ok;
{LogType,Fd} ->
case format_data(ConnMod,LogType,Data) of
- [] ->
+ [] when Info#conn_log.action==send; Info#conn_log.action==recv ->
ok;
FormattedData ->
io:format(Fd,"~n~ts~ts~ts",[format_head(ConnMod,LogType,Time),