summaryrefslogtreecommitdiff
path: root/lib/kernel/src/logger_olp.erl
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2020-02-20 16:39:51 +0100
committerLukas Larsson <lukas@erlang.org>2020-02-20 16:39:51 +0100
commit8dcf5c6295851706be49c0cfe98c743df8128737 (patch)
treee69db91828798af3e78a3f277315d89cac692b30 /lib/kernel/src/logger_olp.erl
parent69e5491ef0c476dfd84613df9983a1782c0dfe7d (diff)
parent9ae69bfdf3b65dcd0dcd88f22c46d0b7002b1b22 (diff)
downloaderlang-8dcf5c6295851706be49c0cfe98c743df8128737.tar.gz
Merge branch 'lukas/kernel/logger-recursive-internal-log/OTP-16489'
* lukas/kernel/logger-recursive-internal-log/OTP-16489: logger: Make sure to not recursively crash for internal log events
Diffstat (limited to 'lib/kernel/src/logger_olp.erl')
-rw-r--r--lib/kernel/src/logger_olp.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/logger_olp.erl b/lib/kernel/src/logger_olp.erl
index cc2e25adb5..cf9b480341 100644
--- a/lib/kernel/src/logger_olp.erl
+++ b/lib/kernel/src/logger_olp.erl
@@ -141,8 +141,8 @@ restart(Fun) ->
catch C:R:S ->
{error,{restart_failed,Fun,C,R,S}}
end,
- ?LOG_INTERNAL(debug,[{logger_olp,restart},
- {result,Result}]),
+ ?LOG_INTERNAL(debug,#{},[{logger_olp,restart},
+ {result,Result}]),
ok.
-spec get_ref() -> olp_ref().