Skip to content

Commit

Permalink
Replace multi-process question with an answer
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Aug 8, 2023
1 parent 610018a commit 231cc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/cpp/outputstreamwriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 231cc5b

Please sign in to comment.