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