File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Syslog Msg & UDP Packet Size Limit Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Syslog Msg & UDP Packet Size Limit" Watch "Syslog Msg & UDP Packet Size Limit" New topic
Author

Syslog Msg & UDP Packet Size Limit

Shanmuga Raja
Greenhorn

Joined: Jun 14, 2004
Posts: 16
I have an issue with syslog messge logging.

My application sends some xml messages to a syslog server. The issue here is with the size limitation.When The xml message size exceeds approx 1000 bytes the message get truncated.

So I thought I will break the message into chunks of 900 bytes and log it..

The problem is the other guy whoz going to extract message from syslog has to assemble it and read..

So thought of introducing some new attributes in the XML message so as to enable the reader with some clues..

I was wondering whether I have any other better solution here..


Shanmuga
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Syslog Msg & UDP Packet Size Limit
 
Similar Threads
Syslog collection
Reading variable size buffer into an byte array
On-going logging problems
org.xml.sax.SAXException: Error while parsing
Cannot log into UNIX Syslog with log4j