Re: How to filter specific characters to not to log

2006-09-22 Thread Curt Arnold
I've thought about the handling of prohibited character codes in XMLLayout and my current thought is they should be represented using Java-style escape sequences, that is if you did: logger.info("\u&\u0145"); You would get something like: \u&Ņlog4:message> Using nested elements in

Re: How to filter specific characters to not to log

2006-09-22 Thread Praveen Kumar Hasthalapuram
e- > From: Praveen Kumar Hasthalapuram [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 19, 2006 8:03 PM > To: Log4J Users List > Subject: [SPAM (Bayesain Analysis)] - Re: How to filter specific > characters to not to log - Bayesian Filter detected spam > > > Hi Curt,

Re: How to filter specific characters to not to log

2006-09-20 Thread Bender Heri
apuram [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 19, 2006 8:03 PM > To: Log4J Users List > Subject: [SPAM (Bayesain Analysis)] - Re: How to filter specific > characters to not to log - Bayesian Filter detected spam > > > Hi Curt, > > We are facing problems with t

Re: How to filter specific characters to not to log

2006-09-19 Thread Curt Arnold
On Sep 19, 2006, at 1:02 PM, Praveen Kumar Hasthalapuram wrote: Hi Curt, We are facing problems with this chatacter "�" issue, Is there any standard convention for representing a character of value 0 in XML (and other control characters)? I understand that we can't actually *have* such

Re: How to filter specific characters to not to log

2006-09-19 Thread Praveen Kumar Hasthalapuram
Hi Curt, We are facing problems with this chatacter "�" issue, Is there any standard convention for representing a character of value 0 in XML (and other control characters)? I understand that we can't actually *have* such a character - that's why � is illegal - but sometimes we want to output

Re: How to filter specific characters to not to log

2006-09-18 Thread Curt Arnold
XMLLayout in both 1.2 and 1.3 can produce "bad" XML in several scenarios as reported in bugs 29244, 34875 and 37560. Since I was an XML guru in a former life, I know of additional holes in the implementation. If you'd be interested in testing it, I could take a shot at re-implementing XML

Re: How to filter specific characters to not to log

2006-09-18 Thread Praveen Kumar Hasthalapuram
asthalapuram [mailto:[EMAIL PROTECTED] > Sent: Monday, September 18, 2006 4:02 PM > To: log4j-user@logging.apache.org > Subject: [SPAM (Bayesain Analysis)] - How to filter specific > characters > to not to log - Bayesian Filter detected spam > > > Hi, > > I want to filt

Re: How to filter specific characters to not to log

2006-09-18 Thread Bender Heri
g.apache.org > Subject: [SPAM (Bayesain Analysis)] - How to filter specific > characters > to not to log - Bayesian Filter detected spam > > > Hi, > > I want to filter some specific characters (special chars) , so that it > should not log. > > Can anyone

How to filter specific characters to not to log

2006-09-18 Thread Praveen Kumar Hasthalapuram
Hi, I want to filter some specific characters (special chars) , so that it should not log. Can anyone suggest me how to it? Thanks, Praveen