log: support disable log

This commit is contained in:
Nick Peng
2022-12-14 22:26:45 +08:00
parent 1cde3f7335
commit 3a1ba73386
6 changed files with 46 additions and 46 deletions

View File

@@ -132,7 +132,7 @@ force-qtype-SOA 65
# log-level: [level], level=fatal, error, warn, notice, info, debug
# log-file: file path of log file.
# log-size: size of each log file, support k,m,g
# log-num: number of logs
# log-num: number of logs, 0 means disable log
log-level info
# log-file /var/log/smartdns/smartdns.log