=rem #3787: Fix wrong comparison of loglevels in remote events logging
Merge pull request #2048 from drewhk/wip-3787-wrong-compare-lifecycle-logging-drewhk

=rem #3787: Fix wrong comparison of loglevels in remote events logging