diff options
Diffstat (limited to 'cmd/start.go')
-rw-r--r-- | cmd/start.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/start.go b/cmd/start.go index 5d2f5b9..c75f0f8 100644 --- a/cmd/start.go +++ b/cmd/start.go @@ -21,7 +21,8 @@ var startCmd = &cobra.Command{ Short: "Start data server", Long: `Start data server`, Run: func(cmd *cobra.Command, args []string) { - log := slog.New(slog.NewJSONHandler(os.Stdout, nil)) + log := slog.New(slog.NewJSONHandler(os.Stdout, + &slog.HandlerOptions{Level: slog.LevelDebug})) // load server configuration from server log.Debug("Loading server configuration") if viper.ConfigFileUsed() != "" { |