Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
DNSCrypt-Proxy Logs not recording
« previous
next »
Print
Pages: [
1
]
Author
Topic: DNSCrypt-Proxy Logs not recording (Read 1890 times)
DefOne
Newbie
Posts: 3
Karma: 0
DNSCrypt-Proxy Logs not recording
«
on:
March 19, 2020, 02:15:51 am »
In DNSCrypt-Proxy my query log and nx log do not record any information. Note: They did in past versions.
In the " /usr/local/etc/dnscrypt-proxy/dnscrypt-proxy.toml " file:
They are shown to be in the " /var/log/dnscrypt-proxy " directory.
The log files are not there. And only the dnscrypt-proxy.log is there and records information.
I created both the " query.log " and " nx.log " files in this directory.
Then stopped and started dnscrypt-proxy service and nothing changed.
Looking in the dnscrypt-proxy.toml file, I see that the log files have these attributes:
log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
[query_log]
file = '/var/log/dnscrypt-proxy/query.log'
format = 'tsv'
[nx_log]
file = '/var/log/dnscrypt-proxy/nx.log'
format = 'tsv'
[whitelist]
whitelist_file = 'whitelist.txt'
log_file = '/var/log/dnscrypt-proxy/whitelisted.log'
log_format = 'tsv'
[blacklist]
blacklist_file = 'blacklist.txt'
log_file = '/var/log/dnscrypt-proxy/blocked.log'
log_format = 'tsv'
Under [query_log] & [nx.log]
should " file = " be " log_file = "
should " format = " be " log_format = "
Also when ever I save this file and then stop and restart the DNSCrypt-Proxy service the file reverts to the original version.
I would appreciate any advice that can be given. Thanks
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: DNSCrypt-Proxy Logs not recording
«
Reply #1 on:
March 19, 2020, 05:35:10 am »
I will fix that, thanks
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: DNSCrypt-Proxy Logs not recording
«
Reply #2 on:
March 23, 2020, 09:20:41 am »
Are you sure it's wrong or did it fix the problem creating the files?
The dnscrypt.toml.sample also use different formats, I just copied them from the sample.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
DNSCrypt-Proxy Logs not recording