This commit is contained in:
crusader 2017-09-13 12:22:05 +09:00
parent 18bb52405c
commit 3692aeb915

View File

@ -3,6 +3,7 @@ package logging
import ( import (
"encoding/json" "encoding/json"
"flag" "flag"
"log"
"git.loafle.net/commons_go/config" "git.loafle.net/commons_go/config"
@ -19,7 +20,7 @@ func init() {
configPath := flag.String("config", ".", "The path of config") configPath := flag.String("config", ".", "The path of config")
flag.Parse() flag.Parse()
log.Printf("logging: config path[%s]", *configPath) log.Printf("logging: config path1[%s]", *configPath)
conf := config.New() conf := config.New()
conf.SetConfigName("logging") conf.SetConfigName("logging")