[jboss-as7-dev] manual way to do logging?

Jason Greene jgreene at redhat.com
Sat Jun 9 10:59:43 EDT 2012


Yawn

On Jun 9, 2012, at 9:32 AM, Bill Burke <bburke at redhat.com> wrote:

> So, I have to pop out of my IDE and run a maven build just to be able to 
> run tests within my IDE?  Yikes...  Another reason why I just won't use 
> JBoss Logging...
> 
> On 6/8/12 2:37 PM, Jason T. Greene wrote:
>> On 6/8/12 3:06 AM, Emmanuel Bernard wrote:
>>> That's the crux really. I always bitch when I have to add a log message with JBoss logging compared to the good old log4j. But I would not meet the requirements.
>>> 
>>> See it positively, it's annoying enough to add a log or throw an exception that I do it less often and my code is even more efficient :D
>>> The other annoying bit is when your log interface is in a common module and you work on a dependent module. This requires full recompilation and I am often bitten by this with method not found exceptions.
>> 
>> We used to have a proxy mode feature for exactly this problem. You would
>> set a sys prop and it would generate dynamic proxies implementing the
>> the source code locales. This was quite a bit slower than the compile
>> generated classes so it was intended to be develop mode only. The idea
>> was that you just set it in your IDE settings and be done with it.
>> 
>> It turns out it wasnt used very much, and it relied on runtime
>> annotation retention, so it was killed. If enough people felt it was a
>> problem though we could revisit that.
>> 
>> What do you think?
>> 
> 
> -- 
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> 
> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



More information about the jboss-as7-dev mailing list