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