Re: LoggingInterceptor

2009-08-18 Thread mailtolouis2020-struts
annemacher To: Struts Users Mailing List Sent: Tuesday, August 18, 2009 3:29:26 PM Subject: Re: LoggingInterceptor Dale, honestly, I was being lazy and giving him the "quick" solution to his problem. The thing about that error is that it is pretty obvious what needs to be done, if you&

RE: LoggingInterceptor

2009-08-18 Thread Martin Gainty
interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. >

[OT] Re: LoggingInterceptor

2009-08-18 Thread Dale Newfield
Wes Wannemacher wrote: Dale, honestly, I was being lazy and giving him the "quick" solution to his problem. Thanks for the more complete (mostly elided) exposition, then. Most people don't really look into what spring is doing behind the scenes I'm so frustrated with the acegi -> spring sec

Re: LoggingInterceptor

2009-08-18 Thread Wes Wannemacher
Dale, honestly, I was being lazy and giving him the "quick" solution to his problem. The thing about that error is that it is pretty obvious what needs to be done, if you're versed in the arts of proxy class generation. Most people don't really look into what spring is doing behind the scenes, they

RE: LoggingInterceptor

2009-08-18 Thread Martin Gainty
as previously mentioned MethodInterceptor != LoggingInterceptor Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten

Re: LoggingInterceptor

2009-08-18 Thread mailtolouis2020-struts
Thanks Wes, I'm looking into it now. From: Wes Wannemacher To: Struts Users Mailing List Sent: Tuesday, August 18, 2009 2:28:15 PM Subject: Re: LoggingInterceptor If you're using AOP, you'll need to tell spring to proxy classes using CGLIB rath

Re: LoggingInterceptor

2009-08-18 Thread Dale Newfield
Wes Wannemacher wrote: If you're using AOP, you'll need to tell spring to proxy classes using CGLIB rather than dynamic JDK proxies... To do so, you'll have to add the cglib jars to your project and add the following to your applicationContext.xml -> http://static.springsource.org/spring/docs

Re: LoggingInterceptor

2009-08-18 Thread Wes Wannemacher
; } > > } > > > Print out: > > 2009-08-18 11:11:00,296 DEBUG louis.common.utils.LogInterceptor.invoke:62 - > Beginning method: class java.lang.reflect.Method::execute > 2009-08-18 11:11:00,312 DEBUG louis.common.utils.LogInterceptor.invoke:71 - > Finish execute in

Re: LoggingInterceptor

2009-08-18 Thread mailtolouis2020-struts
interface com.opensymphony.xwork2.Action::execute From: Dave Newton To: Struts Users Mailing List Sent: Monday, August 17, 2009 6:01:30 PM Subject: Re: LoggingInterceptor mailtolouis2020-str...@yahoo.com wrote: > We use to have this log statement in most of the method begin and en

Re: LoggingInterceptor

2009-08-17 Thread Dave Newton
mailtolouis2020-str...@yahoo.com wrote: We use to have this log statement in most of the method begin and end in Struts1, now working with S2+Spring, both are provide logging interceptor, so I wonder this can help me to reduce coding in new project. No; the logging interceptor does exactly what

Re: LoggingInterceptor

2009-08-17 Thread mailtolouis2020-struts
thinking is there anyway to achieve it or not, if not then I won't waste time research on this topic, still got a lot to explore on S2. Louis From: Dave Newton To: Struts Users Mailing List Sent: Monday, August 17, 2009 3:51:47 PM Subject: Re: LoggingInterc

Re: LoggingInterceptor

2009-08-17 Thread Dave Newton
mailtolouis2020-str...@yahoo.com wrote: Yes, thats the log from my classes. I'm trying to achive similar kind of log, or at least print the exact class and method name, instead of the namespace and the alias name of the action. Is it possible to do that? ... I'm confused. If you have log sta

Re: LoggingInterceptor

2009-08-17 Thread mailtolouis2020-struts
Users Mailing List Sent: Saturday, August 15, 2009 6:54:01 PM Subject: Re: LoggingInterceptor Louis Voo wrote: > I tried the LoggingInterceptor, it print > > 2009-08-14 16:26:02,062 INFO > com.opensymphony.xwork2.interceptor.LoggingInterceptor.info:31 - Starting > execution sta

Re: LoggingInterceptor

2009-08-15 Thread Dave Newton
Louis Voo wrote: I tried the LoggingInterceptor, it print 2009-08-14 16:26:02,062 INFO com.opensymphony.xwork2.interceptor.LoggingInterceptor.info:31 - Starting execution stack for action /louis/excludeParam/excludeParam Is it possible to print the actual class name like this? 2009-08-14

LoggingInterceptor

2009-08-14 Thread Louis Voo
HI, I tried the LoggingInterceptor, it print 2009-08-14 16:26:02,062 INFO com.opensymphony.xwork2.interceptor.LoggingInterceptor.info:31 - Starting execution stack for action /louis/excludeParam/excludeParam Is it possible to print the actual class name like this? 2009-08-14 16:26:02,078