in reply to [threads] Open a file in one thread and allow others to write to it
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.
...roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: [threads] Open a file in one thread and allow others to write to it
by Gangabass (Vicar) on Nov 16, 2009 at 11:38 UTC | |
by BioLion (Curate) on Nov 16, 2009 at 13:16 UTC |