redsocks
redsocks copied to clipboard
support log rotation for `log = file`
Currently redsocks can't reopen log files. Workaround is to log to syslog and let syslog handle log rotation.
Isn't this as simple as adding a handler for SIGUSR1 and then associate a function to call freopen on the file? This could be done in like 5 Minutes...