You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current regex in Log::Log4perl::Resurrector to match the special ###l4p comments will remove blank lines before the comment as \s* will match newlines as well as whitespace.
This causes line numbers in logs to not match the line in the original source file.
Limited testing suggests replacing the pattern with:-
The text was updated successfully, but these errors were encountered:
fellowsr
changed the title
Log::Log4perl::Resurrector deleted blank lines before a ###l4p comment
Log::Log4perl::Resurrector deletes blank lines before a ###l4p comment
Oct 27, 2024
The current regex in Log::Log4perl::Resurrector to match the special
###l4p
comments will remove blank lines before the comment as\s*
will match newlines as well as whitespace.This causes line numbers in logs to not match the line in the original source file.
Limited testing suggests replacing the pattern with:-
fixes this issue.
The text was updated successfully, but these errors were encountered: