FW: [log] Is there a way to copy the initial log of a rolling log set
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@asg.commailto:marc.houde@asg.com | 703.464.1624 www.asg.comhttp://www.asg.com/ | 800.333.8666 USA Only Facebookhttps://www.facebook.com/ASGSoftwareSolutions | LinkedInhttps://www.linkedin.com/company/asg | Twitterhttps://twitter.com/#!/asgsoftware | YouTubehttps://www.youtube.com/asgtech
participants (1)
-
Marc F. Houde