SIGN IN SIGN UP

feat(dfdaemon): support size-based log and add dfdaemon logging configuration (#1943)

* feat(dfdaemon): support size-based log rotation

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Signed-off-by: Yang Kaiyong <yangkaiyong.yky@antgroup.com>

* fix(tracing): default log_max_file_size to 1GiB, simplify rolling

- Default `log_max_file_size` to 1GiB instead of zero/default
- Remove `rolling_condition` helper; inline `max_size` directly
- Drop hourly fallback when size is 0; size-based rolling always used
- Update tests to reflect new 1GiB default and simplified appender setup

Signed-off-by: Gaius <gaius.qi@gmail.com>

---------

Signed-off-by: Yang Kaiyong <yangkaiyong.yky@antgroup.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Co-authored-by: Gaius <gaius.qi@gmail.com>
Y
Yang Kaiyong committed
291887baabec4f0879e1b34689a193bd63504cbb
Parent: c2f7edb
Committed by GitHub <noreply@github.com> on 7/24/2026, 6:05:48 AM