Properly add event viewer logging