You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use it with rsyslog server on debian and wonder why i get strange characters ( ) in syslog file.
Aug 11 18:00:47 esp32-1 RC-Switch Temperature Sensor 1 25.937500
Aug 11 18:00:57 esp32-1 RC-Switch Temperature Sensor 1 26.000000
It is OK if i change this in syslog.cpp
if (this->_protocol == SYSLOG_PROTO_IETF) {
//this->_client->print(F(" - - - \xEF\xBB\xBF"));
this->_client->print(F(" - - - "));
} else {
this->_client->print(F("[0]: "));
}
Hi, and thanks for at great library.
I use it with rsyslog server on debian and wonder why i get strange characters ( ) in syslog file.
Aug 11 18:00:47 esp32-1 RC-Switch Temperature Sensor 1 25.937500
Aug 11 18:00:57 esp32-1 RC-Switch Temperature Sensor 1 26.000000
It is OK if i change this in syslog.cpp
if (this->_protocol == SYSLOG_PROTO_IETF) {
//this->_client->print(F(" - - - \xEF\xBB\xBF"));
this->_client->print(F(" - - - "));
} else {
this->_client->print(F("[0]: "));
}
I know this is not OK, but could you explain ?
thanks,
[email protected]
The text was updated successfully, but these errors were encountered: