Script to Change Log Size and History

To use the script to set the log size and history use the cfgLogFiles.py script.

./wsadmin.sh|bat -lang jython -f cfgLogFiles.py

The script prompts for Rolleover type – Size (to just set the size) or Both for size and history, Maximum log size in mb and the Maximum number of backup files.

bild25

The settings are saved to the WebSphere configuration and are picked up on the next server restart.