There is a new requirement to retain Web Viewer 12.1 logs for up to one year.
Output Management Web Viewer 12.1
1. There is no mechanism in Web Viewer 12.1 to set a retention period for log files.
This related article includes it and suggests to implement some automation to "clean" the logs folder based on file age: Change location where log files are written and automatic removal OM Web Viewer 12.1
2. Web Viewer 12.1 (itself) is unaware of the number or size of any files that it or Tomcat creates.
It is Engineering's (unofficial) recommendation that the Administrator observes the "Free Space" on the disk drive and assures that it always 25% or above. If it gets too low, copy any files that it not required (e.g., Tomcat logs, old wvtrace.txt) to a RAID2 (or comparable) system and delete the original files.
In summary the logs are limited to the size of the disk drive and there is no history limit.