[systemd-devel] Splitting large message written to stdout, explanation?
Virendra Negi
virendra.negi at sugarboxnetworks.com
Sun May 21 10:02:14 UTC 2023
It's been over a week I have been chasing this
https://github.com/rsyslog/rsyslog/issues/5137
I was unsure how to ensure that the systemd (since I was getting nowhere
with rsyslog) split the message instead of the application program doing
this.
Apparently, today I just removed the following section from the `
*target.service*` file
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=sbagent
And set the MaxMessageSize to 64K and what I saw was the 1.5MB long message
that was truncating earlier went through this time without truncation and a
split happened the way I wanted it to be.
I'm unsure what caused it hence for the sake of understanding it. I'm
writing this. Can someone put some light on it as to why this happened now
and not earlier.
Thanks
--
<https://www.facebook.com/SugarBoxNetworks/>
<https://www.instagram.com/sugarboxnetworks/>
<https://in.linkedin.com/company/margo-networks-pvt.-ltd.>
--
**Disclaimer*: This e-mail and any documents, files, or previous e-mail
messages appended or attached to it may contain confidential and/or
privileged information. If you are not the intended recipient (or have
received this email in error) please notify the sender immediately and
delete this e-mail. Any unauthorized copying, disclosure or distribution of
the material in this email is strictly prohibited & unlawful. The recipient
acknowledges that Margo Networks Private Limited (SugarBox) may be unable
to exercise control or ensure or guarantee the integrity of the text of the
email message and the text is not warranted as to completeness and
accuracy. Before opening and accessing the attachment, if any, please check
and scan for virus*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20230521/c7e20432/attachment.htm>
More information about the systemd-devel
mailing list