From d0956e90f50622717a4303fe3c698e56be37e9a5 Mon Sep 17 00:00:00 2001 From: kenshinx Date: Tue, 13 Oct 2015 19:35:29 +0800 Subject: [PATCH] Add log related configuration. --- godns.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/godns.conf b/godns.conf index 0b7fda7..3afcc5c 100644 --- a/godns.conf +++ b/godns.conf @@ -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]