mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Merge pull request #1197 from log4js-node/update-multiprocess
Removed redundant logic in multiprocessAppender
This commit is contained in:
commit
b02c07c34a
@ -32,10 +32,8 @@ function logServer(config, actualAppender, levels) {
|
||||
let logMessage = '';
|
||||
|
||||
function logTheMessage(msg) {
|
||||
if (logMessage.length > 0) {
|
||||
debug('(master) deserialising log event and sending to actual appender');
|
||||
actualAppender(deserializeLoggingEvent(clientSocket, msg));
|
||||
}
|
||||
debug('(master) deserialising log event and sending to actual appender');
|
||||
actualAppender(deserializeLoggingEvent(clientSocket, msg));
|
||||
}
|
||||
|
||||
function chunkReceived(chunk) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user