diff options
author | Siri Hansen <[email protected]> | 2019-03-05 11:25:00 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2019-03-06 12:10:26 +0100 |
commit | e03c2bd640e1fc1503e92dfd74991f4205973c61 (patch) | |
tree | 86dd52b45e65b7a1fae4b27947ae5bc632ebefb6 /lib/kernel/doc/src/logger.xml | |
parent | 0fb9b241d11588bdae29aa64ff96d1eb67d230af (diff) | |
download | otp-e03c2bd640e1fc1503e92dfd74991f4205973c61.tar.gz otp-e03c2bd640e1fc1503e92dfd74991f4205973c61.tar.bz2 otp-e03c2bd640e1fc1503e92dfd74991f4205973c61.zip |
[logger] Add better control of file modes in logger_std_h
OTP-15602
It is allowed to set file modes for the handler to use when opening
its log file. The given modes were earlier accepted without any
checks, which could make the handler behave unexpectedly. This commit
makes sure that
* if none of write, append or exclusive is given, then append is added
* if raw is not given, it is added
* if delayed_write or {delayed_write,_,_} is not given, then
delayed_write is added
Diffstat (limited to 'lib/kernel/doc/src/logger.xml')
0 files changed, 0 insertions, 0 deletions