Fix documentation error and logging prefix for STDOUT
This commit is contained in:
parent
a6dfb7e698
commit
4e5e70f752
2 changed files with 3 additions and 3 deletions
cmd/hoarder
|
@ -14,7 +14,7 @@ func main() {
|
|||
configPath := flag.String("config", "", "path to the config file")
|
||||
flag.Parse()
|
||||
|
||||
logger := log.New(os.Stdout, "hoarder", log.LstdFlags)
|
||||
logger := log.New(os.Stdout, "hoarder ", log.LstdFlags)
|
||||
|
||||
if *configPath == "" {
|
||||
logger.Println("Missing config path")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue