Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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