Greetings, I'm using the following call to set the rolling log files in dir directory:
// Set up where the rotated files will be stored
sink->locked_backend()->set_file_collector(sinks::file::make_collector(
keywords::target = dir, // where to store rotated files
keywords::max_size = 16 * 1024 * 1024, // maximum total size of the stored files, in bytes
keywords::min_free_space = 100 * 1024 * 1024 // minimum free space on the drive, in bytes
));
But, after two files, the log files get created in the current running directory, I'm wondering if anyone has seen this.
Thanks,
Dave