feat(platform)!: log exclusively as structured json
Request access logs, panics, migration output and fatal errors are now emitted through the JSON slog handler. BREAKING CHANGE: UPTIME_LOG_FORMAT is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
1 parent
8d1093cd2d
commit
e9c7394c8b
8 files changed
+108
-48
No files matched your search
@@ -18,7 +18,6 @@ const (
|
||||
type Common struct {
|
||||
Edition Edition `env:"UPTIME_EDITION" envDefault:"selfhosted"`
|
||||
LogLevel slog.Level `env:"UPTIME_LOG_LEVEL" envDefault:"info"`
|
||||
LogFormat string `env:"UPTIME_LOG_FORMAT" envDefault:"json"`
|
||||
DatabaseURL string `env:"UPTIME_DATABASE_URL"`
|
||||
RedisURL string `env:"UPTIME_REDIS_URL"`
|
||||
RedisSentinel Sentinel
|
||||
|
||||
Reference in new issue
Block a user