diff options
author | Lukas Larsson <lukas@erlang.org> | 2020-02-20 16:39:51 +0100 |
---|---|---|
committer | Lukas Larsson <lukas@erlang.org> | 2020-02-20 16:39:51 +0100 |
commit | 8dcf5c6295851706be49c0cfe98c743df8128737 (patch) | |
tree | e69db91828798af3e78a3f277315d89cac692b30 /lib/kernel/src/logger_olp.erl | |
parent | 69e5491ef0c476dfd84613df9983a1782c0dfe7d (diff) | |
parent | 9ae69bfdf3b65dcd0dcd88f22c46d0b7002b1b22 (diff) | |
download | erlang-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.erl | 4 |
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(). |