repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
506aac6
parent
e56c98f
author
Eric Bower
date
2025-01-23 10:48:19 -0500 EST
chore: set log level to info
2 files changed,  +2, -1
M pgs/web.go
+1, -1
1@@ -83,7 +83,7 @@ func StartApiServer() {
2 			MaxBodyBytes:        uint64(cfg.MaxAssetSize),
3 			DefaultCacheControl: cfg.CacheControl,
4 		},
5-		LogLevel: "debug",
6+		LogLevel: "info",
7 	}
8 	c.SetLogger(&CompatLogger{logger})
9 	storages.InitFromConfiguration(c)
M shared/config.go
+1, -0
1@@ -277,6 +277,7 @@ func (c *ConfigSite) AssetURL(username, projectName, fpath string) string {
2 func CreateLogger(space string) *slog.Logger {
3 	opts := &slog.HandlerOptions{
4 		AddSource: true,
5+		Level:     slog.LevelInfo,
6 	}
7 	log := slog.New(
8 		slog.NewTextHandler(os.Stdout, opts),