Balazs Scheidler wrote:
On Tue, Mar 05, 2002 at 05:15:11PM +0100, p@netoides.com wrote:
Hello syslog-ng developers.
We are using your wonderful syslog-ng to receive some big message chunks. We noticed that syslog-ng drops bytes above 1Kb when using UDP. So, we changed to TCP and, to our surprise, we found that syslog-ng splits messages in chunks of 1Kb (approx).
Is it possible to configure syslog-ng so that each tcp message goes to only one line? If this is not possible, what about modifing syslog-ng to add this capability? We can contribute development effort.
after applying the following patch, you can change the maximum line length of syslog-ng by changing the MAX_LOG_LINE constant in syslog-ng.h (currently 2048 bytes)
Thanks. Incidentally, i have to remove the quote in (define-syntax let-and (syntax-rules '() ((let-and (expr) clause clauses ...) in make_class to be able to recompile. I am using scsh 0.6.1. Thanks again, pedro.