Skip to content

Commit 1702dae

Browse files
author
Boris
committed
убрал вывод config-файла
1 parent d457444 commit 1702dae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import (
2323
"github.com/flant/elasticsearch-extractor/modules/config"
2424
"github.com/flant/elasticsearch-extractor/modules/router"
2525
"github.com/flant/elasticsearch-extractor/modules/version"
26+
//TODO: переход на slog и JSON
27+
//"log/slog"
2628
)
2729

2830
var (
@@ -49,7 +51,7 @@ func init() {
4951
log.Println("Bootstrap: build num.", vBuild)
5052

5153
cnf = config.Parse(configfile)
52-
log.Println("Bootstrap: successful parsing config file. Items: ", cnf)
54+
log.Println("Bootstrap: successful parsing config file.")
5355
if _, err := os.Stat("/tmp/data"); errors.Is(err, os.ErrNotExist) {
5456
err := os.Mkdir("/tmp/data", os.ModePerm)
5557
if err != nil {

0 commit comments

Comments
 (0)