RynthCore as of 2026-11-08 (internal 9297e93): release 2026.11.8.1
This commit is contained in:
parent
418d80bafb
commit
c68204f160
99 changed files with 5032 additions and 185 deletions
|
|
@ -62,9 +62,11 @@ def _secs(line: str):
|
|||
|
||||
def pid_log_groups():
|
||||
"""Map pid -> [its log files sorted oldest-first], covering rotations
|
||||
(RynthCore.<pid>.log plus .log.old / .log.N). The engine rotates at ~5 MB:
|
||||
right after a rotation the live .log is a tiny fragment and the soak's
|
||||
history is in .log.old, so scoring only .log would miss the whole run.
|
||||
(RynthCore.<pid>.log plus .log.old and the older .log.old.1 ... .log.old.N,
|
||||
LogRotation.cs). The engine rotates at ~5 MB: right after a rotation the
|
||||
live .log is a tiny fragment and the soak's history is in the .old copies,
|
||||
so scoring only .log would miss the whole run. Rotation keeps each copy's
|
||||
last-write time, so sorting by mtime puts them in order.
|
||||
Each pid is analyzed over its concatenated files in chronological order."""
|
||||
groups = {}
|
||||
for f in glob.glob(os.path.join(LOG_DIR, "RynthCore.*.log*")):
|
||||
|
|
|
|||
Loading…
Reference in a new issue