title: console.log does nothing in Firebug in Liferay
body: <p>I have several debug printouts in my script with <code>console.log(message)</code>, but no messages displayed in Console section of Firebug. </p>
  
  <p>What can be a reason for this?</p>
  
  <p><strong>UPDATE 1</strong></p>
  
  <p>Neither of <code>console.warn</code>, <code>console.error</code> and <code>console.info</code> works.</p>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>I have a following log function:</p>
  
  <pre><code>function log(message) {
     console.error(message);
     $("#log").append(message + "&lt;br/&gt;");
  }
  </code></pre>
  
  <p>so it logs both into Firebug console and DIV on page. I see that DIV logging works. Hence the control reaches the statements.</p>
  
  <p><strong>UPDATE 3</strong></p>
  
  <p>--irrelevant--</p>
  
  <p><strong>UPDATE 4</strong></p>
  
  <p>Update 3 was irrelevant: <code>consoleBody</code> in firebug.js was not always null. Later it was becoming valued.</p>
  
  <p>But I saw that the content of <code>consoleBody</code> contains "div#log". Probably it interferes with my naming...</p>
  
  <p><strong>UPDATE 5</strong></p>
  
  <p>Renaming of ID of my DIV didn't help...</p>
  
  <p><strong>UPDATE 6</strong></p>
  
  <p>Whe I do <code>console.log("hehe")</code> in immediate line of firebug, it prints <code>undefined</code></p>
  
  <p><strong>UPDATE 7</strong></p>
  
  <p>Looks like <code>console.log()</code> does not work within Liferay portlet at all; even very simple hello world portlet does not excecute this command.</p>