syslog
This commit is contained in:
parent
23568db1b5
commit
46549cbc9f
@ -83,7 +83,7 @@ static int innerLogMsg(const char *pre, const char *post, bool syslogToo, const
|
||||
|
||||
int vcnt = vsnprintf(bufferStart, MSGBUFFER_SIZE, format, vl);
|
||||
if (vcnt < MSGBUFFER_SIZE) {
|
||||
if (true || syslogToo) {
|
||||
if (syslogToo) {
|
||||
memcpy(bufferStart - syslogHeaderSize, SYSLOG_HEADER, syslogHeaderSize);
|
||||
syslog(bufferStart - syslogHeaderSize);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user