Mail Archive Home | architecture List | March 2004 Index
| <-- Date Index --> | <-- Thread Index --> |
*********************** Warning: Your file, removelog.zip, contains more than 20 files after decompression and cannot be scanned. ***********-*********** I've implemented a prototype ant task to remove calls to monolog log(...) methods that are below a given level, in a set of class and jar files. It is based on a prototype ASM package for static code analysis. Do not hesitate to test it, and let me know if you are interested. Instead of purely removing these calls, another possibility (not yet implemented) would be to automatically add an appropriate "if (logger != null && logger.isLoggable(...))" statement around them, which would remove the need to write this code manually. Eric
Attachment:
removelog.zip
Description: Zip archive
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.