Skip to content

Just a question about strange characters ( ) in syslog file #16

Description

@pemca

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,
peter.calum@gmail.com

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions