[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] custom Tracing using LTW and java 1.4
|
Do you really want to mix up your messages with the internal weaver
trace we use for debugging? Rather than running your own logging? I
haven't tried what you are proposing so I don't know how easy it is to
contribute your messages to our logging - if I find a spare moment, I
will see if it is possible.
Andy.
2008/12/1 epro etc <epro66@xxxxxxxxx>:
> Hi all,
>
> I am trying to configure custom Tracing using LTW with java 1.4.
> As a reference, I use
> http://www.eclipse.org/aspectj/doc/released/pdguide/trace.html
>
> All of my aspects are packed in a separate jar file and each log message
> from the jar file is logged
> to a separate log file (custom.log) using java.util.Logging utility.
>
> My goal is to include all Trace messages into this custom.log file. I have
> implemented
> CustomTraceFactory which is using CustomTrace.
> 1. When specifying:
> org.aspectj.tracing.factory=com.trace.CustomTraceFactory
> ....... (other trace properties)
> org.aspectj.tracing.file=D:\custom.log (this is the same log I use to
> log jar file messages)
>
> In the custom.log file I can only see Trace messages(not the messages
> from my jar file). But, what is bothering
> me the most is that, messages are formatted like using DefaultTrace. I
> assume that my CustomTraceFactory
> can not be loaded and by default aj is using DeafultTraceFactory.
>
> I was not able to find any message saying which factory aj is using. I guess
> something is wrong with my
> configuration. Any help is appreciated.
>
> Thanks in advance
> Dusanoski Pero
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>