title: jsp tag files and log4j
body: <p>Whats the best way to add log4j logging to a jsp tag file.. I've got as far as importing the logger class..</p>
  
  <pre><code>&lt;%@ tag import="org.apache.log4j.Logger" %&gt;
  </code></pre>
  
  <p>But having a bit of trouble initialising the logger object.</p>
  
  <pre><code>&lt;% Logger log = Logger.getLogger("xxx.xxx.xxx.xx"); %&gt;
  </code></pre>
  
  <p>Because I'm using a tag file with a .tag extension, what do I put is as the class reference to it in the getLogger method call above?</p>
  
  <p>I don't fancy pluging in the log4j taglib at this stage.</p>
  
  <p>Thanks for looking.</p>