Log Message: rework the previous to not try to use _PATH_SYSMON if it isn't defined. fixes PR#23355 finally.