title: How can I create a new unique name jmeter.log file each time a CLI command is run?
body: <p>Whenever I run a new jmeter command from the CLI a new jmeter.log file is generated and I lose the contents written by the previous test run.</p>
  <p>Example:</p>
  <p>First I run the test script with :</p>
  <pre><code>jmeter -n -p .\config.properties -t .\path\to\jmeterScripFile.jmx -l .\path\to\jmeterScriptOutputFile.jtl
  </code></pre>
  <p>This generates a fresh jmeter.log file.</p>
  <p>Then I run this command to generate a HTML Dashboard report:</p>
  <pre><code>jmeter -g  .\path\to\jmeterScriptOutputFile.jtl  -o .\path\to\TestResults\ReportHTML
  </code></pre>
  <p>This 2nd command overrides the previous jmeter.log file contents.</p>
  <p>I would like each jmeter CLI command to generate a unique .log file.
  Something like jmeter-yyyymmdd-hhMMss</p>
  <p>How could I achieve this?</p>