log: don't explicitly re-open log for failed assertions
authorFranck Bui <fbui@suse.com>
Mon, 3 Aug 2020 15:50:11 +0000 (17:50 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 18 Aug 2020 08:31:25 +0000 (10:31 +0200)
commit21fd6bc263f49b57867d90d2e1f9f255e5509134
treed11c02e737b5ab66136a1629aa24c6515da220c7
parent1c7466aa2e5663b5595f9cef5cbece9ec63bcc14
log: don't explicitly re-open log for failed assertions

This was needed before commit 16e4fd87c5be06d2b7a3b368205c8c5bab9df32a added a
mode that opens the log fds for every single log message. This mode is used in
execute.c since then making the explicit call to log_open unnecessary.

This basically reverts ea89a119cda917a17bd186b3c13197acfd655b12.
src/basic/log.c