Torxed
Running OpenVPN as a service, how do I redirect the log (which defaults saves to \program files\openvpn\log or if --log is specified then that path superseeds the default) to windows event logger.
I'm aware that openvpnservice.exe does so if critical errors occur and there for I would be suprised if OpenVPN didn't support this as a default behavior if I explicitly instructs it to.. should be a matter of just piping the sysout to the eventhandler that reports errors to the windows event log.
janjust
the patch would be fairly trivial, I guess (from reading openvpnserv.c) but nobody has done it thus far; also, it would mean that you'd be clogging up the event logs with messages that Windows in general does not understand (you'll see lots of blob type messages) - is that really useful?
I'd be much more in favour of adding syslog support to the Windows version and then run a syslog4nt like service.