I want to implement my own client that can use a TCP link to syslog-ng. Is the protocol defined anywhere? /r$ -- Rich Salz, Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway http://www.datapower.com/products/xs40.html XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html
On Fri, Jun 20, 2003 at 03:37:26PM -0400, Rich Salz wrote:
I want to implement my own client that can use a TCP link to syslog-ng. Is the protocol defined anywhere?
It is basically the same as the UDP transport. Records are terminated with newlines instead of the packet boundary (as there's packet boundary in TCP) -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
It is basically the same as the UDP transport. Records are terminated with newlines instead of the packet boundary
Great, thanks! Are there limits on the record length? /r$ -- Rich Salz Chief Security Architect DataPower Technology http://www.datapower.com XS40 XML Security Gateway http://www.datapower.com/products/xs40.html XML Security Overview http://www.datapower.com/xmldev/xmlsecurity.html
On Sat, Jun 21, 2003 at 12:15:52PM -0400, Rich Salz wrote:
It is basically the same as the UDP transport. Records are terminated with newlines instead of the packet boundary
Great, thanks! Are there limits on the record length?
it is runtime adjustable, the default limit is 2048 bytes IIRC, but this can be changed using the log_msg_size() global option. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (2)
-
Balazs Scheidler
-
Rich Salz