feat: comprehensive debug logging across all controller modules

Add detailed [DEBUG] logging to every controller module when
logging.level is set to "debug". Each module with stateful debug
uses SetDebug(bool) wired from main.go. Covers stacks, backup,
cloudflare, integrations, system, monitor, settings, scheduler,
web handlers, storage, metrics, API, selfupdate, and assets.

Also includes the app export/import (.fab bundles) feature from
v0.32.0 and its debug page integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-26 18:14:43 +01:00
parent f6caea8067
commit 95c821deb2
54 changed files with 5015 additions and 82 deletions
+3 -1
View File
@@ -156,9 +156,11 @@ func NewManager(cfg *config.Config, pinger *monitor.Pinger, sett *settings.Setti
if dataDir == "" {
dataDir = "/opt/docker/felhom-controller/data"
}
restic := NewResticManager(cfg, logger)
restic.SetDebug(cfg.Logging.Level == "debug")
return &Manager{
cfg: cfg,
restic: NewResticManager(cfg, logger),
restic: restic,
logger: logger,
pinger: pinger,
settings: sett,