Open jwijenbergh opened 1 year ago
from @fkooman: syslog might be nice so a logging callback might be better?
One thing is definite: we need to combine logging! There's one log from VPN connection (OpenVPN/WireGuard), one log from eduvpn-common, the eduVPN client for Windows is not even logging to a file but to the OutputDebugString()
... Helpdesk is going to kill us if we don't unite this.
Given all the above, a logging callback letting the client combine log sources and implement the writing to syslog/file/NT EventLog/whatever seems the most reasonable approach.
OTOH, All platforms need logging implemented. Implementing it in eduvpn-common platform-specific internally and offering it as a platform-agnostic API could be the way to "go". Also, less work for me. 😇
So, it all comes down to who will we decide to delegate logging implementation to.
Two options for logging