System and Exception Log Events Not Recorded

if clause for ignoreMessage is wrong. negation wrong