Skip to content

Commit 25f900f

Browse files
authored
Replace multi-process question with an answer (#248)
1 parent 610018a commit 25f900f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cpp/outputstreamwriter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void OutputStreamWriter::write(const LogString& str, Pool& p)
8181
if (str.length() > 0)
8282
{
8383
#ifdef LOG4CXX_MULTI_PROCESS
84-
// Why does this need to happen for multiproces?? why??
84+
// Ensure the logging event is a single write system call to keep events from each process separate
8585
size_t bufSize = str.length() * 2;
8686
char* rawbuf = new char[bufSize];
8787
ByteBuffer buf(rawbuf, (size_t) bufSize);

0 commit comments

Comments
 (0)