fix: cross-filesystem roll fallback; on_start collision; small nits (v0.3.2)
- the non-compress rotator and on_start move fall back to shutil.move when os.replace hits OSError(EXDEV) across filesystems, so rolls land on a separate logs volume / container bind-mount instead of failing every rotation via the handler's silent handleError (L18) - on_start disambiguates a same-second restart with a numeric counter so a rapid crash-restart loop doesn't clobber the earlier rolled file (L17) - reject a bool root level (True==1) consistently with the per-module path; alias the queue module import to drop the queue:bool param shadow; log (not swallow) a handler.close failure during re-setup (nits). Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
@@ -13,7 +13,7 @@ and emit; their records flow into the handlers `log_setup` wired.
|
||||
## Install
|
||||
|
||||
```
|
||||
log_setup @ git+ssh://git@git.rethinkstudios.io/rethink-public/log_setup.git@v0.3.1
|
||||
log_setup @ git+ssh://git@git.rethinkstudios.io/rethink-public/log_setup.git@v0.3.2
|
||||
```
|
||||
|
||||
No dependencies — stdlib only.
|
||||
|
||||
Reference in New Issue
Block a user