vikunja/pkg/log
kolaente 6299bea794 fix(mail): guard log calls in GetMailDomain and fix hostname-dependent tests
GetMailDomain called log.Warningf which panics when the logger is not
initialized (e.g. in unit tests). Add log.IsInitialized() guard.

Also fix TestGetThreadID tests that hardcoded "vikunja" as the expected
fallback domain - on CI the os.Hostname() fallback produces a different
value. Tests now dynamically compute the expected domain.
2026-04-03 18:30:39 +00:00
..
echo_logger.go fix(log): write each log category to its own file (#2206) 2026-02-08 15:22:58 +00:00
logging.go fix(mail): guard log calls in GetMailDomain and fix hostname-dependent tests 2026-04-03 18:30:39 +00:00
logging_test.go fix(log): write each log category to its own file (#2206) 2026-02-08 15:22:58 +00:00
mail_logger.go fix(log): write each log category to its own file (#2206) 2026-02-08 15:22:58 +00:00
noop.go feat: move to slog for logging 2025-07-21 18:15:39 +02:00
watermill_logger.go fix(log): write each log category to its own file (#2206) 2026-02-08 15:22:58 +00:00
xorm_logger.go fix(log): write each log category to its own file (#2206) 2026-02-08 15:22:58 +00:00