Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #30020
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | markspace <markspace@nospam.nospam> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: log4j socket appender |
| Date | Fri, 19 Sep 2014 17:17:56 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 34 |
| Message-ID | <lvih3n$443$1@dont-email.me> (permalink) |
| References | <64807899-4e1f-4a12-853b-ad521a27ec48@googlegroups.com> <lvi4ra$q92$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sat, 20 Sep 2014 00:17:59 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="5aa64ebf9a53573f97c75abba936b0e2"; logging-data="4227"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AGCH5k4Rqq7PpGWoDY4xHNQYS+yyDp+M=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
| In-Reply-To | <lvi4ra$q92$1@dont-email.me> |
| Cancel-Lock | sha1:SObB1NRqAt9WsXdKwwKFBB6TCkU= |
| Xref | csiph.com comp.lang.java.programmer:30020 |
Show key headers only | View raw
On 9/19/2014 1:48 PM, Eric Sosman wrote: > > (Disclaimer: I'm no expert on log4j, so read at your own risk...) Ditto. > > You don't even want to think about parsing this data with anything > short of a full Java implementation. This is "serialized" data, that > is, a data stream into which one JVM can pickle entire objects (and > their sub-objects, recursively) so another JVM can reconstruct clones > of the originals. Serialization is mostly used for things like remote > procedure calls, where a JVM on machine 1 ships objects to a JVM on > machine 2, which operates on them and ships back results in a similar > fashion. You don't want to parse this stuff. > Totally agree. > What you want, I think, is something other than SerializedLayout: > JsonLayout, maybe, or XmlLayout. > I think I found the most recent documentation on these layouts here: <http://logging.apache.org/log4j/2.x/manual/layouts.html> Double check your version of log4j, there's still a lot of 1.x stuff floating around out there.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
log4j socket appender doug.farrell@gmail.com - 2014-09-19 13:34 -0700
Re: log4j socket appender Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-09-19 16:48 -0400
Re: log4j socket appender markspace <markspace@nospam.nospam> - 2014-09-19 17:17 -0700
Re: log4j socket appender doug.farrell@gmail.com - 2014-09-22 08:29 -0700
Re: log4j socket appender Nigel Wade <nmw@ion.le.ac.uk> - 2014-09-23 12:35 +0100
Re: log4j socket appender doug.farrell@gmail.com - 2014-10-02 06:23 -0700
Re: log4j socket appender Marcel Mueller <news.5.maazl@spamgourmet.org> - 2014-09-20 11:46 +0200
Re: log4j socket appender Kevin McMurtrie <mcmurtrie@pixelmemory.us> - 2014-09-20 10:17 -0700
Re: log4j socket appender markspace <markspace@nospam.nospam> - 2014-09-20 13:29 -0700
Re: log4j socket appender Jeff Higgins <jeff@invalid.invalid> - 2014-09-20 23:05 -0400
csiph-web