Yes. See --loglevel command line key.Hello gys, please is there a script or means to reduce or even stop the hourly logging of dnscrpt - proxy to syslog. There are around 5 or 6 lines relating to fetching cert / valid etc
Yes. See --loglevel command line key.
admin@RT-N66U:/tmp/home/root# cat /opt/etc/init.d/S09dnscrypt-proxy
#!/bin/sh
ENABLED=yes
PROCS=dnscrypt-proxy
ARGS="--local-address=127.0.0.1:65053 --daemonize -R opendns --loglevel=5"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
. /opt/etc/init.d/rc.func
admin@RT-N66U:/tmp/home/root# tail /tmp/syslog.log
Jun 15 22:11:01 cron[22563]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I)
Jun 15 22:12:01 cron[22670]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I)
Jun 15 22:13:01 cron[22777]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I)
Jun 15 22:14:01 cron[22884]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I)
Jun 15 22:15:01 cron[22992]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.5mins^I)
Jun 15 22:15:01 cron[22994]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I)
Jun 15 22:16:01 cron[23104]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I)
Jun 15 22:16:24 dnscrypt-proxy[23233]: Starting dnscrypt-proxy 1.4.0
Jun 15 22:16:24 admin: Started dnscrypt-proxy from .
Jun 15 22:16:24 dnscrypt-proxy[23233]: Proxying from 127.0.0.1:65053 to 208.67.220.220:443
For Entware start script:
As a result, syslog will be clearer:Code:admin@RT-N66U:/tmp/home/root# cat /opt/etc/init.d/S09dnscrypt-proxy #!/bin/sh ENABLED=yes PROCS=dnscrypt-proxy ARGS="--local-address=127.0.0.1:65053 --daemonize -R opendns --loglevel=5" PREARGS="" DESC=$PROCS PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin . /opt/etc/init.d/rc.func
Code:admin@RT-N66U:/tmp/home/root# tail /tmp/syslog.log Jun 15 22:11:01 cron[22563]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I) Jun 15 22:12:01 cron[22670]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I) Jun 15 22:13:01 cron[22777]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I) Jun 15 22:14:01 cron[22884]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I) Jun 15 22:15:01 cron[22992]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.5mins^I) Jun 15 22:15:01 cron[22994]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I) Jun 15 22:16:01 cron[23104]: (admin) CMD (/opt/bin/run-parts /opt/etc/cron.1min^I) Jun 15 22:16:24 dnscrypt-proxy[23233]: Starting dnscrypt-proxy 1.4.0 Jun 15 22:16:24 admin: Started dnscrypt-proxy from . Jun 15 22:16:24 dnscrypt-proxy[23233]: Proxying from 127.0.0.1:65053 to 208.67.220.220:443
Please add --loglevel=5 option to standalone script you are using.What about for the standalone script?
Please add --loglevel=5 option to standalone script you are using.
ryzhov_al - Just checked my log and still seeing the hourly entry after running this command -
/jffs/bin
-m --loglevel=5
Please can you advise if am running the correct commad @ the right location?
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!