Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERL-850: logger_std_h stop logging to file after editing #3255

Closed
OTP-Maintainer opened this issue Feb 3, 2019 · 2 comments
Closed

ERL-850: logger_std_h stop logging to file after editing #3255

OTP-Maintainer opened this issue Feb 3, 2019 · 2 comments
Labels
bug Issue is reported as a bug priority:medium
Milestone

Comments

@OTP-Maintainer
Copy link

Original reporter: sdl.web@gmail.com
Affected version: OTP-21.2
Fixed in version: OTP-21.3
Component: kernel
Migrated from: https://bugs.erlang.org/browse/ERL-850


Configure logger_std_h to log to a file.

When the file is removed it is recreated and no logs are lost, which is good.

Edit the file (e.g. in vim and save), no future logs are written to the file. Is this intended behaviour?
@OTP-Maintainer
Copy link
Author

siri said:

No, this is not the intended behavior. Unfortunately, future logs might in this case be written to a backup file created by the editor.

Thanks for reporting! A correction for this will be included in OTP-21.3

@OTP-Maintainer
Copy link
Author

sdl.web@gmail.com said:

Thanks. Look forward to 21.3. What should happen to logger_disk_log_h in this case when file gets edited?

@OTP-Maintainer OTP-Maintainer added bug Issue is reported as a bug priority:medium labels Feb 10, 2021
@OTP-Maintainer OTP-Maintainer added this to the OTP-21.3 milestone Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug priority:medium
Projects
None yet
Development

No branches or pull requests

1 participant