title: How to set the max size of the Wildfly server log
body: <p>We have <code>Wildfly</code> running on Domain mode in our production system. There are around 10 web servers and there is only on log file for all 10 servers. The log file is located under <code>/var/log/wildfly/wildfly.log</code> file. The last time I checked, the files was around 5 GB. My problems are:</p>
  
  <ol>
  <li>Is there any way to separate the server logs so that each server has its own log file?</li>
  <li>Is there any way to set the log file to max size limit to prevent over-growing?</li>
  <li>Is there any way to delete the log file and start over? Logs before 2 days is useless for me so most of the data in the log file is redundant.</li>
  </ol>
  
  <p>Regard</p>