Fixed StlyeCop issues
Added Logging entry