Project

General

Profile

Bug #3182

Wrong custom logger struct in set_level function

Added by Michaël Legagneur 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
libcharon
Target version:
Start date:
20.09.2019
Due date:
Estimated time:
Affected version:
5.8.1
Resolution:
Fixed

Description

Hello,

We detect one mistake in the set_level function about the custom logger. The add_logger is called with sys->logger instead of custom->logger.
Please find attached the patch fixing this little mistake.

Best regards,

Michaël

Associated revisions

Revision b0c84c75 (diff)
Added by Tobias Brunner 3 months ago

daemon: Correctly re-register custom loggers in set_level()

Fixes: 2080c7e1e232 ("charon: Add custom logger to daemon")
Fixes #3182.

History

#1 Updated by Tobias Brunner 3 months ago

  • Category set to libcharon
  • Status changed from New to Closed
  • Assignee set to Tobias Brunner
  • Target version set to 5.8.2
  • Resolution set to Fixed

Thanks, fixed in master.

Also available in: Atom PDF