|
|
Sponsor |
Re: making Socket(Hub)Appender Java compatible: msg#00090apache.logging.log4cxx.user
There was a recent discussion on SocketAppender in log4j and log4net on the log4j-dev mailing list: http://nagoya.apache.org/eyebrowse/ReadMsg?listName=log4j- dev@xxxxxxxxxxxxxxxxxx&msgNo=8240. One of the suggestions in that thread is that binary compatibility based on the existing log4j serialization is not really important since somebody will eventually design a new serialization, but nobody has started work on that either. On Dec 22, 2004, at 8:39 AM, Sluis, Minto van der wrote: Hi its me again, Log4j SocketAppender's "wire format" is the default Java Serialization of its org.apache.log4j.spi.LoggingEvent class. The Java Serialization spec is described at http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/ protocol.html. The use of default serialization makes log4j's wire format sensitive to class changes and there have been some breaking changes that will cause some log4j 1.2.x message to not be read by a 1.3.x implementation and vice versa. See the previous link for the gory details. If we were going to go done the path of compatibility with the existing log4j implementation, then it would be very desirable to get log4j 1.2.8 and 1.3 compatible with each other. 2) What are the plans for making them compatible? I'd love for to have it happen, but there is nobody currently working on it and it isn't near the top of my to-do list. 3) How much work would this be? It is either not very hard or totally impractical. 4) And finally, can I be of service? The key missing starting point would be someone serializing sample log4j LoggingEvent's to a file stream and analyzing the serialized events using the source code, the serialization spec and a hex editor. It would be great to have a detailed field by field analysis of what log4j currently produces. The analysis would also be useful to log4net in case they want to follow us in making their SocketAppender binary compatible. You'd want to start out with the simpliest LoggingEvent before adding MDC, NDC, LocationInfo and the like. If something in the internal structure is really nasty, we could rework log4j 1.3 to simplify it. Other possible contributions would be to analyze or address the binary incompatibility between log4j 1.2.x and 1.3.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | making Socket(Hub)Appender Java compatible, Sluis, Minto van der |
|---|---|
| Next by Date: | Question about maximum field width modifier, Madan, Hatinder |
| Previous by Thread: | making Socket(Hub)Appender Java compatible, Sluis, Minto van der |
| Next by Thread: | Question about maximum field width modifier, Madan, Hatinder |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|