Skip to main content



      Home
Home » Language IDEs » AspectJ » ajdt and log4j
ajdt and log4j [message #69721] Fri, 02 March 2007 09:05 Go to next message
Eclipse UserFriend
Hi,

I use log4j in some of AspectJ code.

I just noticed that when I debug AspectJ code in Eclipse, the log4j INFO
and up log info are printed in the console. Sometimes this is actually a
very nice feature.

But at this moment, the information I want to check in the console is
buried in these log4j log info. Can I turn this on and off as needed?

Thanks,
Harry
Re: ajdt and log4j [message #69740 is a reply to message #69721] Tue, 06 March 2007 09:39 Go to previous message
Eclipse UserFriend
Please ignore my post.
I get a funny feeling when I use AJDT this time.

The console output is from println before I convert them to log4j log.

I have converted all println to log4j log; when I run, I get message in
both console and log file. Clean build does not help.

I have to intentionally make the .aj fail to compile; then correct it. Now
the message disappear from the console.

And this "make it wrong then correct it" procedure also has to be used to
update the aj marks in my java source code.
Re: ajdt and log4j [message #595954 is a reply to message #69721] Tue, 06 March 2007 09:39 Go to previous message
Eclipse UserFriend
Please ignore my post.
I get a funny feeling when I use AJDT this time.

The console output is from println before I convert them to log4j log.

I have converted all println to log4j log; when I run, I get message in
both console and log file. Clean build does not help.

I have to intentionally make the .aj fail to compile; then correct it. Now
the message disappear from the console.

And this "make it wrong then correct it" procedure also has to be used to
update the aj marks in my java source code.
Previous Topic:ajdt and log4j
Next Topic:compilation/weaving - in some cases - not neccessary
Goto Forum:
  


Current Time: Thu May 08 19:38:16 EDT 2025

Powered by FUDForum. Page generated in 0.03196 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top