simonclausen / dnscrypt-autoinstall

Automatic installation and configuration of DNSCrypt (on Debian + Redhat like systems). This script will install DNSCrypt and configure it to start on boot and use an optional dnscrypt service.
Other
224 stars 73 forks source link

Enhancement Request - Logging #47

Closed ssoto2 closed 9 years ago

ssoto2 commented 9 years ago

add the option of --logfile to the init scripts would be a nice default

ex) --logfile=/var/logs/dnscrypt

simonclausen commented 9 years ago

Enabling logging would depend on setting up log rotation on the host system as well to avoid large logs. This seems like a lot of complexity to add for an optional feature.

I'm hesitant to include this.

AladW commented 9 years ago

Well, logs are saved in /var/log/daemon.log or the systemd journal anyway, e.g use

journalctl -u dnscrypt-proxy.service