TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.48k stars 431 forks source link

Query Log: Separate Log File on Filesystem #626

Closed ztheory closed 1 year ago

ztheory commented 1 year ago

The query Log is a great feature!

Would it be possible to keep the query logs in a separate log file so they are not mixed in with the application logs?

You could use the same daily log rolling, so application logs are in, for example:

2023-05-08

And query logs are in, for example:

2023-05-08_query

ShreyasZare commented 1 year ago

Thanks for the request. The query logs are kept in the same log file since most of the errors logged are resolution errors and the query logs help with understanding the context.

You can use the Query Logs (sqlite) DNS app so as to see the query logs independently which will also give you options to filter the data based on multiple conditions from the Logs > Query Logs section on the web app.