Werk #5412: Windows agent: fix logfile glob patterns without '*' at the end

Component Checks & agents
Title Windows agent: fix logfile glob patterns without '*' at the end
Date Nov 24, 2017
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
1.5.0i2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.4.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Windows logfile patterns have required a wildcard '' at the end in order to work correctly. It was not possible to require an exact match to the end of a line without wildcard '' at the end. The reason was a carriage-return (CR) character at the end of each read line that prevented a match unless a '*' was present at the end of the pattern.

Now also patterns without a wildcard '*' at the end work correctly.

To the list of all Werks