[logback-dev] Least-effort logging with bytecode modification
Ralph Goers
ralph.goers at dslextreme.com
Tue Nov 18 16:37:12 CET 2008
You should have a look at the slf4j extensions project first. There is
something in development there.
Robert Elliot wrote:
> I have an AspectJ project I'm working on to add trace logging via SLF4J on
> method & constructor entry & exit & variable change. I'll put it up
> as an enhancement JIRA once I've done a little more work on it.
>
> Rob
>
> ----- Original Message -----
> From: "Thorbjørn Ravn Andersen" <thunderaxiom at gmail.com>
> To: "logback developers list" <logback-dev at qos.ch>
> Sent: Saturday, 26 July, 2008 8:50:07 AM GMT +00:00 GMT Britain, Ireland, Portugal
> Subject: Re: [logback-dev] Least-effort logging with bytecode modification
>
> Ramon Nogueira skrev den 26-07-2008 05:01:
>
>> I thought of implementing this with AspectJ but its probably easier to
>> just use ASM directly for such a simple case.
>>
>> Any ideas/suggestions/precedents?
>>
>>
> You might find
> http://today.java.net/pub/a/today/2008/04/24/add-logging-at-class-load-time-with-instrumentation.html
> interesting (I wrote it) as it describes how to add entry and exit
> logging statements to existing code at load time.
>
>
More information about the logback-dev
mailing list