chrisjbillington / zprocess

A collection of utilities for multiprocessing using zeromq.
BSD 2-Clause "Simplified" License
2 stars 5 forks source link

zlock.log gets huge #4

Closed chrisjbillington closed 7 years ago

chrisjbillington commented 7 years ago

Original report by Jan Werkmann (Bitbucket: 557058:a70cc9cf-684e-4849-a61a-9ade4d7218b5, GitHub: PhyNerd).


I'm not sure why but zlock.log had a size of 20 GB on our lab machine and contained logs of several months. For some reason the rollover didn't happen. The operating system of your lab machine is windows if that helps.

chrisjbillington commented 7 years ago

Original comment by Chris Billington (Bitbucket: 557058:cbf1bc43-1dc2-477b-9e25-1a8f40fd7ee3, GitHub: cbillington).


Fixes #4, log file not rotating. Bump patch number.

chrisjbillington commented 7 years ago

Original comment by Chris Billington (Bitbucket: 557058:cbf1bc43-1dc2-477b-9e25-1a8f40fd7ee3, GitHub: cbillington).


I didn't realise the rollover required the number of backups to be explicitly stated.

This should be fixed now (and released on PyPI).

chrisjbillington commented 7 years ago

Original comment by Jan Werkmann (Bitbucket: 557058:a70cc9cf-684e-4849-a61a-9ade4d7218b5, GitHub: PhyNerd).


Thanks!