log rotate file name postfix can be formatted?
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 39
Description
I have use log rotate configuration, but log file name is end with number, It's hard to find the target file.
```json
"log_level": "INFO",
"log_file": "logs/info.log",
"log_rotate_max_files": 15,
```
Is there any format config parameter?
```
info-1606459202259806039.log
info-1606372739843526258.log
info-1606286280091474531.log
info-1606197194984836618.log
info-1606110075297491022.log
```
Contributor guide
Research direction
No files, tests, or entry points are identified in the issue. Start by locating Consul's log rotation configuration and implementation, then determine how a postfix format could be configured; done means the configured naming is applied to rotated files without breaking retention.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100