Skip to content

ModuleManager: Clean Up Handling of Log Settings

Simon Spannagel requested to merge mt_module_logging into multithreading

Initially there were set_module_before and set_module_after functions to take care of updating the logger such that all information was up-to-date. With additional information coming, such as heading names or event numbers this was somehow not implemented in these functions but right in the main code itself.

This MR cleans this up and moves setting of section name and event number into the respective functions.

I have checked that there is no difference with respect to before in terms of logging by comparing two log files on TRACE level after removing the initial timestamp printed for each line.

Edited by Koen Wolters

Merge request reports