Skip to content

Commit

Permalink
do not (try to) prefix messages with a BOM
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Sep 26, 2024
1 parent 4decf73 commit b52cffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SyslogLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ void SyslogLogger::updateSettings(const String&& hostname)
_header += hostname;
_header += " OpenDTU ";
_header += _proc_id;
// NIL values for message id and structured // data; utf-8 BOM.
_header += " - - \xEF\xBB\xBF";
// NIL values for message id and structured data
_header += " - - ";

// Enable logger.
enable();
Expand Down

0 comments on commit b52cffb

Please sign in to comment.