Add log related configuration.

This commit is contained in:
kenshinx 2015-10-13 19:35:29 +08:00
parent 0ee6f08a1d
commit d0956e90f5

View File

@ -5,7 +5,7 @@ Title = "GODNS"
Version = "0.1.1" Version = "0.1.1"
Author = "kenshin" Author = "kenshin"
Debug = false Debug = true
[server] [server]
host = "127.0.0.1" host = "127.0.0.1"
@ -25,8 +25,10 @@ db = 0
password ="" password =""
[log] [log]
#If didn't set the log file,log will be redirected to console. stdout = true
file = "" file = "./godns.log"
level = "DEBUG" #DEBUG | INFO |NOTICE | WARNING | ERROR
[cache] [cache]