[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
|
- From: "Andy Clement" <andrew.clement@xxxxxxxxx>
- Date: Wed, 3 Dec 2008 18:46:06 -0800
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=prL01GXuswKubY+eFhfkxLpKhjzBR6oOc0iZbej74uQ=; b=WJOBXXpCi6WQw45zU4xtn2gfDcmqLkuFBQFWWdsXOGi9M6Ld6U+n4k8qg4ayLrt25a iL2dMR4dmtS15QpjrBMF7gxCr+0bfAh907Yi6xG7R7e2J2iK+mZAB1fL4iZ3aKw6Umvv vml4driWxnVxMSXw8nnYzCCAbEpI7WznkaRps=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HqY7qkG8LOyBuGOlmewSUozWx6x5edw4f6lWqFdFpp4qg0bVoLJ6ipJxq1KIjHvwve rRvmmjZt2/DdZmY+VX7tsvi4779wX2a8VVehHVJRZVBYd8XHtuvacg2KJjRYa4Z85gLJ lSIg8Q5oUePyxjbvcDT4qH9KGlIAjOR69dtrk=
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
>
>