title: Is it possible to programmatically disable log4j for one method and methods it will call?
body: <p>There is huge web app. When user interact with web application, most of functions are called only once, so there are no performance issues.
  I wrote new "import from file" method which calls many times different methods from system. I don't want to modify methods of other people nor disable log4j. Import from file will be used rarely and is treated like add-on, not major functionality.
  I run into performance problems, because of this.
  After profiling I found out that almost 22% of time is used by log4j.</p>
  
  <p>Is it possible to programmatically disable log4j for one method and methods it will call?</p>