Not an answer to your question, but I tend to use time rather than log file size. I typically name my log files like "foolog.YYYYMMDD_HHMM" and then in the logging function if the log file is old enough, I close it & open a new one.
...roboticusIn reply to Re: [threads] Open a file in one thread and allow others to write to it
by roboticus
in thread [threads] Open a file in one thread and allow others to write to it
by Gangabass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |