You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2022/10/29 00:05:24 UTC

[logging-log4cxx] 01/01: Merge pull request #143 from apache/LOGCXX-518

This is an automated email from the ASF dual-hosted git repository.

rmiddleton pushed a commit to branch next_stable
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit b8175f0fe870378cca4ca414785148b379656301
Merge: b58d5df5 4c3bef4d
Author: Robert Middleton <rm...@users.noreply.github.com>
AuthorDate: Fri Oct 28 20:05:14 2022 -0400

    Merge pull request #143 from apache/LOGCXX-518
    
    LOGCXX-518 Refactor of RollingFileAppender for multiprocess

 CMakeLists.txt                                     |   3 +
 src/cmake/boost-fallback/boost-fallback.cmake      |  16 +
 .../boost-fallback/boost-std-configuration.h.cmake |  26 ++
 src/cmake/boost-fallback/test-boostfilesystem.cpp  |   6 +
 src/cmake/boost-fallback/test-stdexpfilesystem.cpp |   5 +
 src/cmake/boost-fallback/test-stdfilesystem.cpp    |   5 +
 src/main/cpp/CMakeLists.txt                        |  19 +-
 src/main/cpp/fileoutputstream.cpp                  |   4 +
 ...der.cpp => multiprocessrollingfileappender.cpp} | 146 +++++----
 src/main/cpp/outputstream.cpp                      |  12 -
 src/main/cpp/outputstreamwriter.cpp                |  37 ++-
 src/main/cpp/rollingfileappender.cpp               | 201 ------------
 src/main/cpp/rollingpolicybase.cpp                 |   5 +-
 src/main/cpp/timebasedrollingpolicy.cpp            | 346 ++++++++++++++-------
 src/main/cpp/writer.cpp                            |   8 +-
 src/main/cpp/writerappender.cpp                    |   4 +
 src/main/include/CMakeLists.txt                    |  17 +
 .../include/log4cxx/helpers/fileoutputstream.h     |   8 +-
 src/main/include/log4cxx/helpers/outputstream.h    |   7 -
 .../include/log4cxx/helpers/outputstreamwriter.h   |  10 +-
 src/main/include/log4cxx/helpers/writer.h          |   3 -
 src/main/include/log4cxx/log4cxx.h.in              |   1 +
 ...keleton.h => multiprocessrollingfileappender.h} |  68 ++--
 .../include/log4cxx/rolling/rollingfileappender.h  |  22 --
 .../include/log4cxx/rolling/rollingpolicybase.h    |  10 +-
 .../log4cxx/rolling/timebasedrollingpolicy.h       | 124 ++------
 src/main/include/log4cxx/writerappender.h          |   8 +-
 src/site/markdown/1-usage.md                       |   1 +
 src/site/markdown/{1-usage.md => multiprocess.md}  |  23 +-
 29 files changed, 513 insertions(+), 632 deletions(-)