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

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


The following commit(s) were added to refs/heads/master by this push:
     new 25f900f8 Replace multi-process question with an answer (#248)
25f900f8 is described below

commit 25f900f8e839b9d4a9f04690c32e39f6da93c71f
Author: Stephen Webb <[email protected]>
AuthorDate: Wed Aug 9 13:44:12 2023 +1000

    Replace multi-process question with an answer (#248)
---
 src/main/cpp/outputstreamwriter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/cpp/outputstreamwriter.cpp 
b/src/main/cpp/outputstreamwriter.cpp
index 90d19931..4ddf93c9 100644
--- a/src/main/cpp/outputstreamwriter.cpp
+++ b/src/main/cpp/outputstreamwriter.cpp
@@ -81,7 +81,7 @@ void OutputStreamWriter::write(const LogString& str, Pool& p)
        if (str.length() > 0)
        {
 #ifdef LOG4CXX_MULTI_PROCESS
-               // Why does this need to happen for multiproces??  why??
+               // Ensure the logging event is a single write system call to 
keep events from each process separate
                size_t bufSize = str.length() * 2;
                char* rawbuf = new char[bufSize];
                ByteBuffer buf(rawbuf, (size_t) bufSize);

Reply via email to