Build logrotate mini.py, a stdlib Python log rotation tool driven by rotate.json: {"path": "logs/app.log"…
Build logrotate mini.py, a stdlib Python log rotation tool driven by rotate.json: {"path": "logs/app.log"…: a task in traj2envs-rl: RL tasks generated with traj2envs (Harbor dataset). Rotation naming for config path logs/app.log : plain rotations are logs/app.log.1 , logs/app.log.2 , …
The task
Rotation naming for config path `logs/app.log`: plain rotations are `logs/app.log.1`, `logs/app.log.2`, ...; compressed rotations are `logs/app.log.1.gz`, `logs/app.log.2.gz`, .... Only files within slots `1..keep` are kept after rotation.
Part of harness-hub/traj2envs-rl.