Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Persist and archive historical logs (halo-dev#3021)
#### What type of PR is this? /kind improvement /area core /milestone 2.1.x #### What this PR does / why we need it: Provide a default configuration for logging system. Default log filename is `${halo.work-dir}/logs/halo.log`. References: - https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#features.logging.file-output - https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#features.logging.file-rotation #### Which issue(s) this PR fixes: Fixes halo-dev#2968 #### Special notes for your reviewer: Start Halo and check the log file `${halo.work-dir}/logs/halo.log`. #### Does this PR introduce a user-facing change? ```release-note 持久化并归档历史日志 ```
- Loading branch information