plog icon indicating copy to clipboard operation
plog copied to clipboard

write to /var/log/syslog

Open liuty2006 opened this issue 1 year ago • 1 comments

static plog::ColorConsoleAppender<plog::TxtFormatter> consoleAppender;
static plog::RollingFileAppender<plog::TxtFormatter> fileAppender(logFilePath.c_str(), 1024 * 1024 * 10, 8);
plog::Severity sev = (plog::Severity)nLevel;
plog::init(sev, &consoleAppender);
plog::init(sev, &fileAppender);

when log to logFilePath, at same time write to /var/log/syslog  -- why?

liuty2006 avatar Mar 29 '24 01:03 liuty2006

It's weird as plog has no syslog appender implemented. Could you post the message from syslog?

SergiusTheBest avatar Mar 29 '24 16:03 SergiusTheBest