Re: Automatic logging

2004-12-01 Thread Eddie Bush
- Original Message - From: "Kinjal Sonpal" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 01, 2004 1:03 AM Subject: RE: Automatic logging On the other hand, I don't find it all that burdensome to est

RE: Automatic logging

2004-11-30 Thread Kinjal Sonpal
> But realistically, I'm with Eddie -- what logging can you really > apply consistently and automatically in a way that is more useful > than noisy? If you have a bunch of fairly repetitive stuff > spit out, then finding the real information is fairly tedious. I also agree with it. I'm only looki

Re: Automatic logging

2004-11-30 Thread bryan
Incidentally I use a HUGE amount of AOP stuff and logging is the only thing I am not using with it. I use AOP for the following Declarative security management ( down to filtering returned Collections by an ACL ) Declarative transaction management ( so that I don't have any transaction manageme

Re: Automatic logging

2004-11-30 Thread bryan
to summarise ... use spring or use log4j with eclipse plugin. --b On Mon, 29 Nov 2004 17:34:29 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > >>Would there be a simpler way of enabling automatic logging across > >>entire application so that I do not have to modify all of my classes > >>and JSP

Re: Automatic logging

2004-11-30 Thread Joe Germuska
Would there be a simpler way of enabling automatic logging across entire application so that I do not have to modify all of my classes and JSP pages? Sounds like the textbook use case for aspect oriented programming. Logging is about the only thing they all talk about! But realistically, I'm with

RE: Automatic logging

2004-11-30 Thread Kinjal Sonpal
Eddie, Thanks for your immediate and thorough reply. > Possible? Yes ... but you're not going to get much > meaningful information. > IMHO, meaningful information comes out of exceptions, and I > personally trap > those and cause the app to show meaningful errors to the > user. The best > place

Re: Automatic logging

2004-11-29 Thread Eddie Bush
Possible? Yes ... but you're not going to get much meaningful information. IMHO, meaningful information comes out of exceptions, and I personally trap those and cause the app to show meaningful errors to the user. The best place to have logging is in your catch statements - be that in your act