Add log related configuration.
This commit is contained in:
parent
0ee6f08a1d
commit
d0956e90f5
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user