|
Re: AspectJ Log4J and log4j.appender.dest1.layout.ConversionPattern= %l%n%m%n [message #73711 is a reply to message #73693] |
Thu, 02 April 2009 05:37 |
Eclipse User |
|
|
|
Originally posted by: andrew.eisenberg.springsource.com
I am not sure what this line means (not overly being familiar with Log4J),
but it looks like it prints out the method name and line number of the
logged site.
> log4j.appender.dest1.layout.ConversionPattern= %l%n%m%n
The odd method names you are seeing are aspectj generated methods.
What were you expecting to see?
|
|
|
|
Re: AspectJ Log4J and log4j.appender.dest1.layout.ConversionPattern= %l%n%m%n [message #73743 is a reply to message #73728] |
Thu, 02 April 2009 16:20 |
Eclipse User |
|
|
|
Originally posted by: andrew.eisenberg.springsource.com
> I try to use AspectJ to trace Java code source.
> What I am expecting to do, is to do Jump-to-code aware, the trace
> generated by AspectJ into the Eclipse console.
The output generated seems correct to me. It seems that you are wondering
why you can't use Eclipse's hyperlink capabilities to jump to the
declaration. This likely hasn't been implemented in AJDT. Does this work
when you remove the AJ nature from the project?
Please raise a bug for this in bugzilla. Also, please include any extra
plugins that you have installed. I am not exactly sure how the hyperlinking
for Log4J is implemented, but the functionality may come from another
plugin. And lastly, include the version of Eclipse you are using (are you
using RAD, STS, 3.3, 3.4, etc?).
|
|
|
|
|
Re: AspectJ Log4J and log4j.appender.dest1.layout.ConversionPattern= %l%n%m%n [message #599867 is a reply to message #73728] |
Thu, 02 April 2009 16:20 |
Andrew Eisenberg Messages: 77 Registered: July 2009 |
Member |
|
|
> I try to use AspectJ to trace Java code source.
> What I am expecting to do, is to do Jump-to-code aware, the trace
> generated by AspectJ into the Eclipse console.
The output generated seems correct to me. It seems that you are wondering
why you can't use Eclipse's hyperlink capabilities to jump to the
declaration. This likely hasn't been implemented in AJDT. Does this work
when you remove the AJ nature from the project?
Please raise a bug for this in bugzilla. Also, please include any extra
plugins that you have installed. I am not exactly sure how the hyperlinking
for Log4J is implemented, but the functionality may come from another
plugin. And lastly, include the version of Eclipse you are using (are you
using RAD, STS, 3.3, 3.4, etc?).
|
|
|
Powered by
FUDForum. Page generated in 0.03112 seconds