-
feat: historic logs named off the project namespace (cwd basename / history_name)
released this
2026-07-01 05:58:10 +00:00 | 17 commits to main since this releasethe live file keeps its defined name (latest.log); rolled/historic files are now named off
the PROJECT namespace so you can tell which service a log came from at a glance. default =
os.path.basename(os.getcwd()) (run from bestbuy/ -> historic bestbuy..log[.gz]);
override with the new history_name= param.- decouple the rolled stem (history) from the live stem (name) in setup.py; thread
history_stem into BOTH the namers AND prune/retier (same stem, or retention breaks). - unify size + daily on make_history_namer -> ..log[.gz] (was stdlib .N /
.log.); rotate_on_start takes history_stem.
behavior-visible: rolled names differ from pre-0.5.0 (were the live stem). pass
history_name=name for the old naming. execute-verified across on_start/daily/size (tiered +
non-tiered), default-cwd + explicit + history==name + normalization edges; v0.4.x fixes
(rotation/tiering/retention) all still hold. bump v0.4.3 -> v0.5.0Signed-off-by: disqualifier dev@disqualifier.me
Downloads
- decouple the rolled stem (history) from the live stem (name) in setup.py; thread