Boost::Log and log numbering
问题 I've recently tried to add some logging via Boost log to a small application. However, using log rotation I can't for some reason get it to pick up the correct counter in the logs directory. For example, if my Logs directory contains the files Log_000.log and Log_001.log I'd expect the logging to start with Log_002.log but it always starts again from 0. I'm probably missing something but if anyone can spot something I'd be grateful. Here's my startup code: void initLogging() { boost::log::add