feat: support to set log level in config file

This commit is contained in:
mzz2017
2023-02-05 14:03:34 +08:00
parent e2ecb80c26
commit e097acaa8e
4 changed files with 19 additions and 21 deletions

View File

@ -2,6 +2,9 @@ global {
# tproxy port to listen.
tproxy_port: 12345
# Log level: error, warn, info, debug, trace
log_level: info
# Node connectivity check.
check_url: 'https://connectivitycheck.gstatic.com/generate_204'
check_interval: 30s
@ -63,7 +66,7 @@ group {
# See routing.md for full examples.
routing {
ip(geoip:private, 240.0.0.0/4, 'ff00::/8') -> direct # Put me at the first place. Or you know what you're doing.
ip(geoip:private, 224.0.0.0/3, 'ff00::/8') -> direct # Put it first unless you know what you're doing.
# Write your rules below.
# dae arms DNS rush-answer filter so we can use 8.8.8.8 regardless of DNS pollution.