We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d457444 commit 1702daeCopy full SHA for 1702dae
cmd/main.go
@@ -23,6 +23,8 @@ import (
23
"github.com/flant/elasticsearch-extractor/modules/config"
24
"github.com/flant/elasticsearch-extractor/modules/router"
25
"github.com/flant/elasticsearch-extractor/modules/version"
26
+ //TODO: переход на slog и JSON
27
+ //"log/slog"
28
)
29
30
var (
@@ -49,7 +51,7 @@ func init() {
49
51
log.Println("Bootstrap: build num.", vBuild)
50
52
53
cnf = config.Parse(configfile)
- log.Println("Bootstrap: successful parsing config file. Items: ", cnf)
54
+ log.Println("Bootstrap: successful parsing config file.")
55
if _, err := os.Stat("/tmp/data"); errors.Is(err, os.ErrNotExist) {
56
err := os.Mkdir("/tmp/data", os.ModePerm)
57
if err != nil {
0 commit comments