diff --git a/config_sample.json b/config_sample.json index 55200b2..6f63c3f 100644 --- a/config_sample.json +++ b/config_sample.json @@ -13,7 +13,5 @@ ], "ip_url": "http://members.3322.org/dyndns/getip", "log_path": "./godns.log", - "log_size": 16, - "log_num": 3, "socks5_proxy": "" } diff --git a/settings.go b/settings.go index e648381..6ac9904 100644 --- a/settings.go +++ b/settings.go @@ -21,8 +21,6 @@ type Settings struct { Domains []Domain `json:"domains"` IPUrl string `json:"ip_url"` LogPath string `json:"log_path"` - LogSize int `json:"log_size"` - LogNum int `json:"log_num"` Socks5Proxy string `json:"socks5_proxy"` }