title: Servlet Filters and Threading?
body: <p>I am building a webservice on Weblogic 10.3.3 and I am using a servlet filter to log the request to a database. I do not want the filter to slow down the call to the webservice. So I actually have 2 questions.</p>
  
  <p>1) Does the filter, or can I make the filter do the logging on a separate thread? if so how?</p>
  
  <p>2) is there a way I can dynamically turn the filter on or off without having to redeploy code.</p>
  
  <p>Thanks</p>