aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2019-03-05 11:25:00 +0100
committerSiri Hansen <[email protected]>2019-03-06 12:10:26 +0100
commite03c2bd640e1fc1503e92dfd74991f4205973c61 (patch)
tree86dd52b45e65b7a1fae4b27947ae5bc632ebefb6 /lib/erl_interface/test
parent0fb9b241d11588bdae29aa64ff96d1eb67d230af (diff)
downloadotp-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/erl_interface/test')
0 files changed, 0 insertions, 0 deletions