aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-04-30 13:58:34 +0200
committerSiri Hansen <[email protected]>2018-05-03 11:52:37 +0200
commit2ea3d7b972141ac73a1dd7f0ac1a3ccbde342f6d (patch)
tree3dcdc7fe9a75c6cae006e899a89f189b13edf462 /lib/sasl
parentf770320ddc583c1059d33ff756ad986b53848517 (diff)
downloadotp-2ea3d7b972141ac73a1dd7f0ac1a3ccbde342f6d.tar.gz
otp-2ea3d7b972141ac73a1dd7f0ac1a3ccbde342f6d.tar.bz2
otp-2ea3d7b972141ac73a1dd7f0ac1a3ccbde342f6d.zip
Set single_line=true by default in logger_formatter
Diffstat (limited to 'lib/sasl')
-rw-r--r--lib/sasl/src/sasl.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sasl/src/sasl.erl b/lib/sasl/src/sasl.erl
index 657eb6688a..2bf11bdcdf 100644
--- a/lib/sasl/src/sasl.erl
+++ b/lib/sasl/src/sasl.erl
@@ -130,6 +130,7 @@ add_sasl_logger(undefined, _Level) -> ok;
add_sasl_logger(std, undefined) -> ok;
add_sasl_logger(Dest, Level) ->
FC0 = #{legacy_header=>true,
+ single_line=>false,
template=>[{logger_formatter,header},"\n",msg,"\n"]},
FC = case application:get_env(sasl,utc_log) of
{ok,Bool} when is_boolean(Bool) ->