title: Is Log4cplus really so slow?
body: <p>I've been testing three options for my logging subsystem in C++. One is Log4cplus, one is Pantheios and the last one is a simple logging library that we have written ourselves. </p>
  
  <p>Log4cplus has been much slower than the other two. Here are the results for logging 1,000,000 log entries:</p>
  
  <ul>
  <li>log4cplus: <strong>200</strong> seconds  EDIT: setting the buffer size reduced it to <strong>120</strong> seconds</li>
  <li>mylogger: 55 seconds </li>
  <li>Pantheios: <strong>35</strong> seconds</li>
  </ul>
  
  <p><strong>I'm wondering if I'm missing any performance tuning.</strong> </p>
  
  <p>I should add that I'm always using the root logger, I'm logging to file and logging:
  <code>LOG4CPLUS_INFO(rootLogger, "Replace me with the text!");</code></p>
  
  <p>thanks,
  Reza</p>