A
apm
Cyclic logs provide a platform-independent way for a server to record
stdout and stderr such that the most recent information can be
retained in a logfile without such logfiles growing in size such that
they might fill the disk up. A cyclic log has a fixed size upon
creation and a structure that allows older data to be overwritten on
the arrival of new data to be logged. I have released a package to do
this on SourceForge at http://sourceforge.net/projects/cycliclogs. It
consists of a C++ library, a C library, a set of commands and a user
manual. It has been tested on Solaris, MS-Windows and Linux. It is
released under the GPL license. I hope it will prove useful for C++
and C projects. Feedback is welcome.
Regards,
Andrew Marlow
stdout and stderr such that the most recent information can be
retained in a logfile without such logfiles growing in size such that
they might fill the disk up. A cyclic log has a fixed size upon
creation and a structure that allows older data to be overwritten on
the arrival of new data to be logged. I have released a package to do
this on SourceForge at http://sourceforge.net/projects/cycliclogs. It
consists of a C++ library, a C library, a set of commands and a user
manual. It has been tested on Solaris, MS-Windows and Linux. It is
released under the GPL license. I hope it will prove useful for C++
and C projects. Feedback is welcome.
Regards,
Andrew Marlow