title: PM2 ecosystem file - writing timestamp to log
body: <p>In the pm2 documentation for <a href="https://pm2.keymetrics.io/docs/usage/log-management/" rel="nofollow noreferrer">logs</a>, it says to use the cli option <code>--time</code> to get a timestamp written in the logs.</p>
  <p>How do I use this option with the <a href="https://pm2.keymetrics.io/docs/usage/application-declaration/" rel="nofollow noreferrer">ecosystem file</a>?</p>
  <p>I tried this:</p>
  <pre><code>module.exports = {
     apps: [
        {
           name: &quot;myapp&quot;,
           args: &quot;--time&quot;,
           script: &quot;~/path/index.js&quot;,
           cwd: &quot;~/path&quot;,
           watch: false,
           env: {
              NODE_ENV: &quot;production&quot;,
           },
           exp_backoff_restart_delay: 100,
        },
     ],
  };
  </code></pre>
  <p>and then reloading the ecosystem file with <code>pm2 startOrReload ~/path/ecosystem.config.js --update-env</code>, which does successfully reload the configuration, but the timestamp doesn't get written to the logs.</p>