Bug #755

Request file logging tplogsetreqfile() may close stderr FILE desciptor, if one was used

Added by Madars over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:01/09/2022
Priority:Normal (Code 4)Due date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

In case if process was using stderr as the sink for the logs, and logger was switched to other file by tplogsetreqfile(), the stderr might become invalid, due to fclose() performed on it.

History

#1 Updated by Madars over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Release notes

Fixed tplogsetreqfile() to not close stderr when previous log file was standard error output.

Available from Enduro/X release 7.5.38+, 8.0.1+.

#2 Updated by Madars over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF