Skip to content

RemoteSyslogChannel should allow the RFC 5424 STRUCTURED-DATA field to be set #2173

@ewoudenberg-jibo

Description

@ewoudenberg-jibo

Expected behavior

A means should be available when logging messages through RemoteSyslogChannel for the STRUCTURED-DATA field of RFC 5424 (syslog) messages to be set.

Actual behavior

The STRUCTURED-DATA field is not only not possible to set, the RemoteSyslogChannel message formatter does not put the required "-" in the empty STRUCTURED-DATA field. This fact causes the generated messages to be out of compliance with RFC 5424.

Steps to reproduce the problem

(please make this a SSCCE, if applicable and reasonable)

A capability is missing -- no demonstration possible.

POCO version

1.8.2

Compiler and version

All

Operating system and version

All

Other relevant information

RFC 5424 STRUCTURED-DATA description: https://tools.ietf.org/html/rfc5424#page-15

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions