title: perl: Will Log::Log4perl work in a multi-threaded environment?
body: <p>I'm using logging vai Log::Log4perl in my perl script; I'm wondering if making multiple calls to write to the same log object will cause incorrect / erroneous behavior. </p>
  
  <p>I'm using a Appender::File to write out the log in the following manner:</p>
  
  <pre><code>$log-&gt;info("Launching commands...");
  foreach my $param (@params) {
      push @thread_handles, async {
          system("$param");
          $log-&gt;info("$param COMPLETE");
          logstatus($?);
      };
  }
  
  $_-&gt;join() foreach @thread_handles;
  $log-&gt;info("Commands completed...");
  </code></pre>