diff --git a/cmd/main.go b/cmd/main.go index 77ee1ed..4d04544 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -23,6 +23,8 @@ import ( "github.com/flant/elasticsearch-extractor/modules/config" "github.com/flant/elasticsearch-extractor/modules/router" "github.com/flant/elasticsearch-extractor/modules/version" + //TODO: переход на slog и JSON + //"log/slog" ) var ( @@ -49,7 +51,7 @@ func init() { log.Println("Bootstrap: build num.", vBuild) cnf = config.Parse(configfile) - log.Println("Bootstrap: successful parsing config file. Items: ", cnf) + log.Println("Bootstrap: successful parsing config file.") if _, err := os.Stat("/tmp/data"); errors.Is(err, os.ErrNotExist) { err := os.Mkdir("/tmp/data", os.ModePerm) if err != nil {