We have Wildfly
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 /var/log/wildfly/wildfly.log
file. The last time I checked, the files was around 5 GB. My problems are:
- Is there any way to separate the server logs so that each server has its own log file?
- Is there any way to set the log file to max size limit to prevent over-growing?
- 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.
Regard