Skip to content

Syslog / Net debug - several logs created because of missing hostname #4647

@KrX3D

Description

@KrX3D

What happened?

Hello, i use the syslog / net debug feature.

I can set those options in my syslog server for "System identifier for logfile name"

Image

For the first and last everything is ok, but when i use "Hostname (from syslog message)" which i use mostly i get several log files created because the hostname is missing after the time

Image

i.e.: syslog-Segment.log

Image

To Reproduce Bug

#define WLED_DEBUG
#define WLED_DEBUG_HOST "192.168.1.3"
#define WLED_DEBUG_PORT 514

and have a syslog server which uses the hostname from the send log after the date

Expected Behavior

instead of have just i.e.

Apr 16 20:46:20 Segment geometry: 0,30 -> 0,1

to have

Apr 16 20:46:20 HOSTNAME Segment geometry: 0,30 -> 0,1

this should create than just one log file with the complete log

Install Method

Self-Compiled

What version of WLED?

0.16.0-alpha

Which microcontroller/board are you seeing the problem on?

ESP32-S2

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions