Re: [Carbon-dev] Why are we printing the error stack trace when we have to login first

2011-05-31 Thread Prabath Siriwardena
On Tue, May 31, 2011 at 6:17 PM, Afkham Azeez wrote: > +1. Somebody can keep on sending invalid login requests & crash the server > by filling up the logs. Please change this to a debug level log. +1 Thanks & regards, -Prabath > > On Tue, May 31, 2011 at 6:11 PM, Supun Kamburugamuva wrote: >>

Re: [Carbon-dev] Why are we printing the error stack trace when we have to login first

2011-05-31 Thread Thilina Buddhika
I had a look at this code. AuthenticationHandler does not log this error, it just throws an AxisFault. So this has to be handled at the client code. Thanks, Thilina On Tue, May 31, 2011 at 6:17 PM, Afkham Azeez wrote: > +1. Somebody can keep on sending invalid login requests & crash the server

Re: [Carbon-dev] Why are we printing the error stack trace when we have to login first

2011-05-31 Thread Afkham Azeez
+1. Somebody can keep on sending invalid login requests & crash the server by filling up the logs. Please change this to a debug level log. On Tue, May 31, 2011 at 6:11 PM, Supun Kamburugamuva wrote: > Hi all, > > After the session time out and if there is an ajax call this exception > is printe

[Carbon-dev] Why are we printing the error stack trace when we have to login first

2011-05-31 Thread Supun Kamburugamuva
Hi all, After the session time out and if there is an ajax call this exception is printed. We could have simply print an INFO log without printing the whole stack trace. [2011-05-31 18:07:00,313] ERROR - AxisEngine Access Denied. Please login first. org.apache.axis2.AxisFault: Access Denied. Plea