
On Sat, 29 Jan 2005 01:31:30 -0500, Preston A. Elder <prez@neuromancy.net> wrote:
The same exists for the file (in the Write function that takes a vector of log entries) and net interfaces. It does not exist for syslog, mainly because syslog takes care of not mushing lines together so I don't have to.
So it should be completely thread safe :)
Great.
Here are some add-ons to John Torjo's Logging library I wrote that implement a size-based rotating log like yours as well as a date-based one. If you want to archive data on a daily (or other) basis, this can be useful. They also allow a callback function to determine the log name, so users can implement custom filename policies.
Thanks, I'll certainly take a look, since I'd been thinking about doing that too, but trying to make it a sane mechanism made my head hurt ;)
Sorry that was the wrong link. Here's the updated version that includes the timed rollovers http://article.gmane.org/gmane.comp.lib.boost.devel/113491 -- Caleb Epstein caleb dot epstein at gmail dot com