diff options
author | GrailFinder <wohilas@gmail.com> | 2024-05-05 08:57:23 +0300 |
---|---|---|
committer | GrailFinder <wohilas@gmail.com> | 2024-05-05 08:57:23 +0300 |
commit | ff86222fc9ab85fb4c5c5e8a063083595b323761 (patch) | |
tree | 01dbec5503bfabc21af93acdbfe3d1000e2386a0 /cmd/start.go | |
parent | 8d66ec58e2256412a2fd50ad9e651c09af1ea8cc (diff) |
Enha: protected cookies
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() != "" { |