Tags: boostorg/log
Tags
Only reuse the old counter if the file name pattern has a counter pla… …ceholder. If text_file_backend is set up to append to a previously written file, and the actively written file name pattern does not include a file counter placeholder but the target file name pattern does, we used to skip incrementing the file counter in an attempt to generate the same file name as was last used, so that we open the last used file for appending. While it did result in reusing the last written file, since the counter was not incremented, the next rotation would generate the last used target file name, which would result in overwriting the last rotated file instead of adding a new file to the storage. To mitigate this, only skip incrementing the counter if the file name pattern for the actively written file actually has a counter placeholder. This way, the counter will get incremented in the case described above, and on rotation a new target file name will be generated. Fixes #245.
Updated references to Boost.Interprocess issue with Cygwin.
Replaced address::from_string with make_address. address::from_string functions in Boost.ASIO were deprecated and removed. Use make_address free functions as a replacement. Fixes #239.
Replaced address::from_string with make_address. address::from_string functions in Boost.ASIO were deprecated and removed. Use make_address free functions as a replacement. Fixes #239.
Removed gcc-4.8 and 4.9 from GHA CI. Added gcc-11 toolchain for clang. Boost.ASIO does not compile in C++11 mode on gcc prior to 5 as it uses std::align. Clang prior to 16 does not support libstdc++13 that is installed in GHA ubuntu-22.04 image by default in C++20 mode. Use libstdc++11 instead.
Added a note about deprecation of Windows versions prior to 10.
PreviousNext