diff options
author | Siri Hansen <[email protected]> | 2018-07-02 11:48:09 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-07-13 12:20:26 +0200 |
commit | 4ae5136ccb68bed0e72e1f45d34d1a8b44594590 (patch) | |
tree | a3cf74980f58b2ed4996f3145bb90c13a14fa165 /lib/kernel/src | |
parent | 9fbe5cc9c770b9cd31e18447dfecc1c73e6f4c5f (diff) | |
download | otp-4ae5136ccb68bed0e72e1f45d34d1a8b44594590.tar.gz otp-4ae5136ccb68bed0e72e1f45d34d1a8b44594590.tar.bz2 otp-4ae5136ccb68bed0e72e1f45d34d1a8b44594590.zip |
[logger] Fix regexp replacement for unicode strings
Diffstat (limited to 'lib/kernel/src')
-rw-r--r-- | lib/kernel/src/logger_formatter.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/logger_formatter.erl b/lib/kernel/src/logger_formatter.erl index 937e7f859b..a5c6984bc6 100644 --- a/lib/kernel/src/logger_formatter.erl +++ b/lib/kernel/src/logger_formatter.erl @@ -77,7 +77,7 @@ format(#{level:=Level,msg:=Msg0,meta:=Meta},Config0) %% Trim leading and trailing whitespaces, and replace %% newlines with ", " re:replace(string:trim(MsgStr0),",?\r?\n\s*",", ", - [{return,list},global]); + [{return,list},global,unicode]); _false -> MsgStr0 end; |