ing
This commit is contained in:
parent
18bb52405c
commit
3692aeb915
|
@ -3,6 +3,7 @@ package logging
|
|||
import (
|
||||
"encoding/json"
|
||||
"flag"
|
||||
"log"
|
||||
|
||||
"git.loafle.net/commons_go/config"
|
||||
|
||||
|
@ -19,7 +20,7 @@ func init() {
|
|||
configPath := flag.String("config", ".", "The path of config")
|
||||
flag.Parse()
|
||||
|
||||
log.Printf("logging: config path[%s]", *configPath)
|
||||
log.Printf("logging: config path1[%s]", *configPath)
|
||||
|
||||
conf := config.New()
|
||||
conf.SetConfigName("logging")
|
||||
|
|
Loading…
Reference in New Issue
Block a user