This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Logging open sources like log4j and Logger( as implemente dy sun) has various levels of logging (debug, info, warm fatal etc). If, we sett the logger a level, let us say info, the debug messages will not be printed. yet, it first prepares the message that needs to be printed and only then looks for the level. As this process involves a lot of String manipulations, the performance of the application goes down even though we set the level to info. We conducted a performance test and the performance downgrade was evident. My question is 1. Is there a better logging framework which would give a performance better than Log4j? 2. Is the issue I pointed out addressed in any of the open source packages?