Skip to content
Snippets Groups Projects
Dmitry Ivanov's avatar
Dmitry Ivanov authored
Previously, log_destroy would close log->fd even if it's one of the
standard streams. This behavior almost never makes sense, unless
one's trying to write a unix daemon which is obviously not the case.

Closing stderr has the following side effects:
- it breaks a reinit of the default logger;
- it inhibits ASan's final leak report;
- it causes a EPOLLHUP during a restart via `--entrypoint-fd` (Picodata).
aa7119a9
History
Name Last commit Last update