Splitting large message written to stdout, explanation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




 
 


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


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux