Fixes #5762: Replaces Centreon E2S by nxlog for window

As this is a change in stable release, i made it as minimal as I could, so I kept the same logic as before (in term of reporting, calls and all) to minimize all risks
I did remove dead logic though

My comment above must not have been clear. I apologize.

What I'm asking you is to add a comment *inside the file you are modifying* so that future readers can figure this out, without returning to this PR.