3x-ui/database
MHSanaei e96b4b067a
fix(db): silence GORM record-not-found spam in debug mode
getSetting handles ErrRecordNotFound via database.IsNotFound and falls
back to defaults, but GORM's Default logger still logs each miss as an
error. With periodic jobs reading unset keys (xrayTemplateConfig,
externalTrafficInformEnable) the panel log flooded thousands of times.
Switch to a logger.New with IgnoreRecordNotFoundError=true so legitimate
slow-query and SQL traces still surface in debug mode.
2026-05-23 15:59:43 +02:00
..
model Frontend rewrite: React + TypeScript with AntD v6 (#4498) 2026-05-23 15:21:45 +02:00
db.go fix(db): silence GORM record-not-found spam in debug mode 2026-05-23 15:59:43 +02:00
dialect.go Feat/multi inbound clients (#4469) 2026-05-19 12:20:24 +02:00
migrate_data.go Feat/multi inbound clients (#4469) 2026-05-19 12:20:24 +02:00