Boost logo

Boost Users :

Subject: [Boost-users] FW: [log] Is there a way to copy the initial log of a rolling log set
From: Marc F. Houde (Marc.Houde_at_[hidden])
Date: 2015-04-02 09:38:19


Greetings,
I am using boost::log with a text_file_backend sink with file rotation for logging on a long running application. I have set it up to clear earlier logs when the logging directory reaches a certain size, but I would like to preserve the initial log as it contains useful configuration information that may not be repeated in later logs. I thought I might be able to do this using set_close_handler, and making a copy but there does not appear to be a way to get the actual file information.
Thanks,
Marc

[ASG]<http://www.asg.com/>

Marc Houde, Sr Software Engineer

marc.houde_at_[hidden]<mailto:marc.houde_at_[hidden]> | 703.464.1624
www.asg.com<http://www.asg.com/> | 800.333.8666 USA Only

Facebook<https://www.facebook.com/ASGSoftwareSolutions> | LinkedIn<https://www.linkedin.com/company/asg> | Twitter<https://twitter.com/#!/asgsoftware> | YouTube<https://www.youtube.com/asgtech>




image001.png

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net