how to set log file for ocserv ?
Description of problem:
I was not able to find a way of saving ocserv log file into a specified file. google did not help so asking chatGPT said
To set the logs location for ocserv, you can modify the configuration file /etc/ocserv/ocserv.conf. In this file, you can add or modify the following line:
log-stdout false
log-file /var/log/ocserv.log
this method did not work. So is there any way to save ocserv log not at /var/log/syslog but a custom file?
Version of ocserv used:
1.1.6
Distribution used:
Debian 11
Actual results:
logs are saved at /var/log/syslog
Expected results:
logs be saved at specified file