[logback-dev] Least-effort logging with bytecode modification
Thorbjørn Ravn Andersen
thunderaxiom at gmail.com
Sat Jul 26 09:39:42 CEST 2008
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.
--
Thorbjørn
More information about the logback-dev
mailing list