yusing
7ea415078f
fix(config): fix error and logging handling
2025-10-11 14:00:04 +08:00
yusing
4f2f0f58e2
fix(autocert): nil dereference
2025-10-11 13:12:45 +08:00
yusing
38c0419483
feat(config): add temporary logging for failed reloads
...
- Add tmpLogBuf and tmpLog fields to capture config loading logs
- Flush temporary logs only when reload succeeds
- Extract NewLogger function for creating custom loggers
- Update State interface to include FlushTmpLog method
2025-10-10 22:20:12 +08:00
yusing
2e411373a2
fix(config): failed reload should not start providers in new state
2025-10-10 21:46:02 +08:00
yusing
9bf7a0beef
revert(config): added back pointer for agent and notification config for correct unmarshaling
2025-10-10 10:07:49 +08:00
yusing
f334f5c13c
feat(config): pretty print active config and routes by provider on load / reload
2025-10-10 09:51:32 +08:00
yusing
cab68807ee
refactor(config): restructured with better concurrency and error handling, reduced cross referencing
2025-10-09 01:02:24 +08:00