bitbeans / SimpleDnsCrypt

A simple management tool for dnscrypt-proxy
https://simplednscrypt.org
MIT License
2.29k stars 233 forks source link

Query log is broken until Simple DNSCrypt is restarted #287

Open Zero3 opened 6 years ago

Zero3 commented 6 years ago

The Simple DNSCrypt GUI was opened during the installation. I went through the settings, enabled the proxy, and enabled the query log. But nothing appeared in the query log at all, even though entries was being added to the log file on disk. It kept saying something like "waiting for queries".

Closing the GUI (also from tray) and restarting it fixed the issue, and queries immediately appeared in the log. So it seems like there is some kind of first-run problem here.

bitbeans commented 6 years ago

If the file query.log does not exist, the file is not read. There must be something like a FileSystemWatcher that starts the live log after the file is created.

blu-IT commented 2 years ago

The Simple DNSCrypt GUI was opened during the installation. I went through the settings, enabled the proxy, and enabled the query log. But nothing appeared in the query log at all, even though entries was being added to the log file on disk. It kept saying something like "waiting for queries".

Closing the GUI (also from tray) and restarting it fixed the issue, and queries immediately appeared in the log. So it seems like there is some kind of first-run problem here.

I noticed this behavior too.