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
Hi,
just an idea, what if you set the rotation to 2 files? Or do you really need
the name sample.OLD?
With Kind Regards,
Ovanes
On Mon, May 3, 2010 at 3:49 PM, junk bbb123
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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Hi,
I'm working on a project (plugin) which will be integrated into a server
application, and this application has a log files collector, so, I need to
obey to their rules, which demand a 2 log files, one named sample.LOG and
the other sample.OLD in case the maximum size has exceeded.
Thanks,
Bahaa
On Mon, May 3, 2010 at 9:57 PM, Ovanes Markarian
Hi,
just an idea, what if you set the rotation to 2 files? Or do you really need the name sample.OLD?
With Kind Regards, Ovanes
On Mon, May 3, 2010 at 3:49 PM, junk bbb123
wrote: 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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
junk bbb123
-
Ovanes Markarian