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
I will fix that, thanks :)
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.