added more logging for windows service