From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: pmg-devel@lists.proxmox.com, Dominik Csapak <d.csapak@proxmox.com>
Subject: applied: [PATCH pmg-api] utils: analyze custom check: remove trailing newline for error output
Date: Wed, 15 Jul 2026 15:10:10 +0200 [thread overview]
Message-ID: <178412100047.1678796.3964389328439622339.b4-ty@proxmox.com> (raw)
In-Reply-To: <20260611092536.1329194-1-d.csapak@proxmox.com>
On Thu, 11 Jun 2026 11:25:30 +0200, Dominik Csapak wrote:
> Output from a custom check script on stderr gets printed to the syslog
> with the qid in front so it gets picked up by the log tracker.
>
> This would resulut in the log tracker output being something like:
> `pmg-smtp-filter[4509]: 1093B6A2A7C7E9C6C9: custom check: DEBUG:#012`
>
> remove the trailing newline in `log_err` with `chomp` to prevent the
> `#012` ending up in the syslog and thus log-tracker output.
>
> [...]
Applied with some additional info in commit message, thanks!
[1/1] utils: analyze custom check: remove trailing newline for error output
commit: bf7af96e07283f36a98abd71bc318ee41d118c75
Best regards,
--
Fabian Grünbichler <f.gruenbichler@proxmox.com>
prev parent reply other threads:[~2026-07-15 13:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-11 9:25 [PATCH pmg-api] utils: analyze custom check: remove trailing newline for error output Dominik Csapak
2026-07-15 13:10 ` Fabian Grünbichler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178412100047.1678796.3964389328439622339.b4-ty@proxmox.com \
--to=f.gruenbichler@proxmox.com \
--cc=d.csapak@proxmox.com \
--cc=pmg-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox