diff options
author | Fred Hebert <[email protected]> | 2017-05-13 08:41:32 -0400 |
---|---|---|
committer | Fred Hebert <[email protected]> | 2017-05-17 07:52:50 -0400 |
commit | ed4d30888beb58c27f61dcf86384696cc221be35 (patch) | |
tree | dabf24a840b4b20f37a07232091bbac0b9e40b3a /lib/kernel/src/disk_log.hrl | |
parent | 8a1138ddfec89b23c19d4d12d30dd575c678356b (diff) | |
download | otp-ed4d30888beb58c27f61dcf86384696cc221be35.tar.gz otp-ed4d30888beb58c27f61dcf86384696cc221be35.tar.bz2 otp-ed4d30888beb58c27f61dcf86384696cc221be35.zip |
add option 'quiet' to disk_log
This option allows to suppress output of info_msgs to error_logger when
recoverable errors are encountered in disk_log by setting the value to
'true'.
Defaults to 'false', the backwards compatible behaviour.
Diffstat (limited to 'lib/kernel/src/disk_log.hrl')
-rw-r--r-- | lib/kernel/src/disk_log.hrl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kernel/src/disk_log.hrl b/lib/kernel/src/disk_log.hrl index 58f6155adf..a362881f40 100644 --- a/lib/kernel/src/disk_log.hrl +++ b/lib/kernel/src/disk_log.hrl @@ -76,6 +76,7 @@ | {notify, boolean()} | {head, Head :: dlog_head_opt()} | {head_func, MFA :: {atom(), atom(), list()}} + | {quiet, boolean()} | {mode, Mode :: dlog_mode()}. -type dlog_options() :: [dlog_option()]. -type dlog_repair() :: 'truncate' | boolean(). @@ -102,6 +103,7 @@ head = none, mode = read_write :: dlog_mode(), notify = false :: boolean(), + quiet = false :: boolean(), options = [] :: dlog_options()}). -record(cache, %% Cache for logged terms (per file descriptor). |