About newline in logs #131

Closed
opened 2026-10-05 01:25:11 +02:00 by adam · 2 comments
Owner

Hi
I was trying to add some telegram translation based on the meshbot.log parsing.
It works fine almost all the time, except one moment.

When user send multiline message, logs also show it as a multiline.
So my system failed as it ewads log line by line.

So my questions is is it possible to add option to remove newline from the user messages inside logs?

Original log:
19:03:31 |INFO | Device:1 Channel:1 Ignoring Message: T
T From: Zed7

Desired option should post it as one line:
19:03:31 | INFO | Device:1 Channel:1 Ignoring Message: T T From: Zed7

Hi I was trying to add some telegram translation based on the meshbot.log parsing. It works fine almost all the time, except one moment. When user send multiline message, logs also show it as a multiline. So my system failed as it ewads log line by line. So my questions is is it possible to add option to remove newline from the user messages inside logs? Original log: `19:03:31 |INFO | Device:1 Channel:1 Ignoring Message: T` `T From: Zed7` Desired option should post it as one line: `19:03:31 | INFO | Device:1 Channel:1 Ignoring Message: T T From: Zed7` <!-- github-sync-id:4277065437 -->
adam closed this issue 2026-10-05 01:25:11 +02:00
Author
Owner

let me know if this didn't resolve it for you thanks for calling it out

let me know if this didn't resolve it for you thanks for calling it out <!-- github-comment-id:4274685249 -->
Author
Owner

It feels nice. Thank you.

It feels nice. Thank you. <!-- github-comment-id:4282204718 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/meshing-around#131