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
|