summaryrefslogtreecommitdiff
path: root/cmd/api/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/api/main.go')
-rw-r--r--cmd/api/main.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/cmd/api/main.go b/cmd/api/main.go
index 51e16af..3d2f587 100644
--- a/cmd/api/main.go
+++ b/cmd/api/main.go
@@ -27,7 +27,7 @@ func main() {
logger := httplog.NewLogger("djson", httplog.Options{
JSON: true,
- LogLevel: "debug",
+ LogLevel: *logLevel,
})
// Tree storage
@@ -45,13 +45,6 @@ func main() {
panic(err)
}
- // TBD raft cluster initialization
- if cluster != nil {
- logger.Info().Str("cluster connect", *cluster).Send()
- } else {
- logger.Info().Str("cluster create", *clusterAddr).Send()
- }
-
// Tree HTTP wrapper
treeHandler := handler.New(core, eventsDispatcher)