aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/error_logger.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-05-31 15:22:45 +0200
committerSiri Hansen <[email protected]>2018-06-08 14:39:51 +0200
commit577d903af9eb5b028611a957b8f07b06fbbd741e (patch)
tree421845fc63900b8231fc031df4cd35a02b1ca070 /lib/kernel/src/error_logger.erl
parentba4b23c2d1cd07d754518201a5686f09cb1332d2 (diff)
downloadotp-577d903af9eb5b028611a957b8f07b06fbbd741e.tar.gz
otp-577d903af9eb5b028611a957b8f07b06fbbd741e.tar.bz2
otp-577d903af9eb5b028611a957b8f07b06fbbd741e.zip
Allow 'unlimited' as value to Kernel parameter error_logger_format_depth
Diffstat (limited to 'lib/kernel/src/error_logger.erl')
-rw-r--r--lib/kernel/src/error_logger.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kernel/src/error_logger.erl b/lib/kernel/src/error_logger.erl
index d54c9d59b4..9238029cef 100644
--- a/lib/kernel/src/error_logger.erl
+++ b/lib/kernel/src/error_logger.erl
@@ -575,6 +575,8 @@ get_format_depth() ->
case application:get_env(kernel, error_logger_format_depth) of
{ok, Depth} when is_integer(Depth) ->
max(10, Depth);
+ {ok, unlimited} ->
+ unlimited;
undefined ->
unlimited
end.