Modify Dante configuration file to enable logging, here for errors and debug:
errorlog: /var/log/sockd.errlog
logoutput: /var/log/sockd.log
In case you are receiving errors after configuring log sinks for danted service, like:
alert: configparsing(): could not (re)open logfile "/var/log/socks.log": Read-only file system
- stop service
- edit service config:
vim /lib/systemd/system/danted.service
- add entry to allow writing to
/var/log/
directory:
InaccessibleDirectories=...
ReadOnlyDirectories=...
ReadWriteDirectories=/var/log
- reload service:
systemctl daemon-reload
service danted restart
this will fix issues with write access to logs