Skip to content

Changes

Started 11 hr ago
Queued 7.3 sec
Took 2 min 50 sec on built-in

Summary

  1. logging_file: Avoid reopening file for stderr (details)
  2. logging_file: Fix log_target_file_switch_to_stream on stderr (details)
Commit 2fe73295d42567975d158ff6a1196d63aec534ba by Pau Espin Pedrol
logging_file: Avoid reopening file for stderr

target->tgt_file.fname is NULL for stderr log target.

Change-Id: I4a551b0c434c480e78852a0a4873700eac2f5853
The file was modifiedsrc/core/logging_file.c
Commit 8bb0d6e47a2e094e40af409917f539e70275aaf1 by Pau Espin Pedrol
logging_file: Fix log_target_file_switch_to_stream on stderr

In stderr log target, the bfd of the wq was left registered despite
freeing the wq, which ended up in the callback being called and the
freed wq being used.

Change-Id: I1c0d833fb8ae82d1dd54e44cc2fc8be80d5e1b4b
The file was modifiedsrc/core/logging_file.c