in reply to Match 2 strings in same line
I don't know what's inside $logsIncDate, but you might want to escape the special characters (like the dot), to be sure to match it exactly. m<\Q$logsIncDate>;. See quotemeta.
In Section
Seekers of Perl Wisdom