Boost logo

Boost Users :

Subject: [Boost-users] rolling log file directory not effective after two files
From: David Frank (david_frank56_at_[hidden])
Date: 2015-01-10 11:13:33


 Â Â Â Â 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



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