$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] boost.log library - backend sink
From: junk bbb123 (junk.bbb_at_[hidden])
Date: 2010-05-03 09:49:02
Hi,
How can I create a backend sink that does the following:
1. set a backend sink to log into a file named: sample.log
2. once the log file exceeded a maximum limit of 10MB, the backend renames
the filename to sample.old, and resumes logging into a new sample.log.
the rotation settings as described in the documentation of boost.log
don't suit my requirements, so how can I do what I mentioned above?
Thanks