RE: Chainsaw display UTF-8 encoding problem

2007-10-30 Thread Jessica Lin
The exmple was attached to http://issues.apache.org/bugzilla/show_bug.cgi?id=43736 Thanks, Jessica -Original Message- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 2:56 PM To: Log4J Users List Subject: Re: Chainsaw display UTF-8 encoding problem Hmm, any ch

Re: jul-log4j bridge question

2007-10-30 Thread Joshua ChaitinPollak
Thanks for the answers, I guess from my point of view (limited I know), everything is great, so release it! :) Thanks again, Josh On Oct 30, 2007, at 5:23 PM, Paul Smith wrote: On 31/10/2007, at 4:10 AM, Joshua ChaitinPollak wrote: Thank you Paul! Your updated snapshot worked like a charm

Re: Alternative Logger naming strategies?

2007-10-30 Thread Bixler, Scott
- Original Message - From: Paul Smith <[EMAIL PROTECTED]> To: Log4J Users List Sent: Tue Oct 30 17:52:24 2007 Subject: Re: Alternative Logger naming strategies? On 31/10/2007, at 6:57 AM, Paul Duffy wrote: > Hi, > > Wrestling with some product requirements. > My app will be deployed t

Re: Chainsaw display UTF-8 encoding problem

2007-10-30 Thread Paul Smith
Hmm, any chance you could upload an example XML file attached to the bug report Curt raised? Then we can have a crack at replicating it and trying a fix. On 31/10/2007, at 8:17 AM, Jessica Lin wrote: Since I am using Windows, I edited chainsaw.bat file as: java - Dorg .apache .commons.lo

Re: Alternative Logger naming strategies?

2007-10-30 Thread Paul Smith
On 31/10/2007, at 6:57 AM, Paul Duffy wrote: Hi, Wrestling with some product requirements. My app will be deployed to a JEE container, which is using the typical class based Logger naming convention. The beans deployed to the container need finer grained control of the logging event gene

Re: jul-log4j bridge question

2007-10-30 Thread Paul Smith
On 31/10/2007, at 4:10 AM, Joshua ChaitinPollak wrote: Thank you Paul! Your updated snapshot worked like a charm. I've already integrated it into our build systems, and idea when jul- log4j-bridge and log4j-component will be released as non -SNAPSHOT versions? Feedback from users that it

RE: Chainsaw display UTF-8 encoding problem

2007-10-30 Thread Jessica Lin
Since I am using Windows, I edited chainsaw.bat file as: java -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger -Dfile.encoding=UTF-8 -classpath jakarta-oro-2.0.6.jar;jmdns.jar;log4j-1.3alpha-7.jar;log4j-chainsaw-2.0alpha-1.jar;log4j-optional-1.3alpha-7.jar;log4j-oro-1

Re: Alternative Logger naming strategies?

2007-10-30 Thread James A. N. Stauffer
Some people prepend a catagory to the logger name (i.e. security.com.package.class). On 10/30/07, Paul Duffy <[EMAIL PROTECTED]> wrote: > > Hi, > > Wrestling with some product requirements. > > My app will be deployed to a JEE container, which is using the typical > class based Logger naming conve

Re: Chainsaw display UTF-8 encoding problem

2007-10-30 Thread Curt Arnold
On Oct 30, 2007, at 2:16 PM, Jessica Lin wrote: I want to use Chainsaw to view the log file contains Chinese character. The log file was recorded by using FileAppender which I defined the endoding as “UTF-8”. Here is part of my log4j.properties file. # xml format file appender log4j.a

Alternative Logger naming strategies?

2007-10-30 Thread Paul Duffy
Hi, Wrestling with some product requirements. My app will be deployed to a JEE container, which is using the typical class based Logger naming convention. The beans deployed to the container need finer grained control of the logging event generation. Compile time setting of DEBUG, WARN, IN

Chainsaw display UTF-8 encoding problem

2007-10-30 Thread Jessica Lin
I want to use Chainsaw to view the log file contains Chinese character. The log file was recorded by using FileAppender which I defined the endoding as “UTF-8”. Here is part of my log4j.properties file. # xml format file appender log4j.appender.xml=org.apache.log4j.FileAppender log4j.append

Re: jul-log4j bridge question

2007-10-30 Thread Joshua ChaitinPollak
Thank you Paul! Your updated snapshot worked like a charm. I've already integrated it into our build systems, and idea when jul-log4j- bridge and log4j-component will be released as non -SNAPSHOT versions? From a Maven perspective, it looks like jul-log4j-bridge is in group 'org.apache.loggi

Re: xmlappender

2007-10-30 Thread Neal Piche
yes I suppose I could tell it to only send the message part after all, I just need to pour through the documentation :). however what I was hoping for was a clean way to receive it in my C program, u know without 50 lines of code :), maybe a premade library for such a purpose? When you mentioned it

Re: xmlappender

2007-10-30 Thread Maarten Bosteels
Is there an XMLSocketAppender in log4j ? Maybe in one of the extras ? Anyhow, it's trivial to change SocketAppender to use the XmlLayout instead of java serialization. I already did, because I was comparing the speed (and size) of java serialization. with other exchange formats (XmlLayout, Hessian