Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove color coding? codes from syslog* messages #32

Open
florianpiekert opened this issue Mar 8, 2025 · 2 comments
Open

Remove color coding? codes from syslog* messages #32

florianpiekert opened this issue Mar 8, 2025 · 2 comments
Assignees
Labels
approved Issue has been approved and is being worked on bug Something isn't working

Comments

@florianpiekert
Copy link

ubuntu 24.01.... rsyslogd

Mar 8 12:46:20 sonne postfix-tlspol[3373864]: postfix-tlspol (c) 2024-2025 Zuplu <80><94> v1.7.3-6-g6941720
Mar 8 12:46:20 sonne postfix-tlspol[3373864]: This program is licensed under the MIT License.
Mar 8 12:46:20 sonne postfix-tlspol[3373864]: #033[92mINFO Prefetching enabled!#033[0m
Mar 8 12:46:20 sonne postfix-tlspol[3373864]: #033[90mDEBUG Listening on 127.0.0.1:8642...#033[0m

When rsyslog receives an stores the messages, some additional codes, e.g.
#033[92m
are provided in the message.

Please remove them or make it configurable (disable-option?).

@DragonWork DragonWork self-assigned this Mar 8, 2025
@DragonWork DragonWork added bug Something isn't working approved Issue has been approved and is being worked on labels Mar 8, 2025
@DragonWork
Copy link
Member

Maybe fixed in v1.8.0. Please check first before closing.
Colored logs are supported by systemd-journald and won‘t be printed if another logging service is used.

@florianpiekert
Copy link
Author

It is not yet fixed from my observation:
Mar 9 09:27:31 sonne postfix-tlspol[4170889]: postfix-tlspol (c) 2024-2025 Zuplu â v1.8.0
Mar 9 09:27:31 sonne postfix-tlspol[4170889]: This program is licensed under the MIT License.
Mar 9 09:27:31 sonne postfix-tlspol[4170889]: #33[92mINFO Prefetching enabled!#33[0m
Mar 9 09:27:31 sonne postfix-tlspol[4170889]: #33[92mINFO Listening on 127.0.0.1:8642...#33[0m
Mar 9 09:30:03 sonne postfix-tlspol[4170889]: #33[92mINFO Evaluated policy for "charite.de": secure match=mail-cbf-ext.charite.de:mail-cvk-ext.charite.de servername=hostname (cached for 1209600s)#33[0m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Issue has been approved and is being worked on bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants