We can control the size of all log files by making changes in log4j.properties file which we can find in,
Installation directory>>conf>>server>>log4j
But, to change the size of cs_monitor.out file in particular we need to use following steps: 1) Go to installation directory of TDV server. 2) Go to conf>>monitor 3) Open wrapper.conf file in any editor like notepad ++. 4) search for keyword " monitor.out "
Below is the snippet of wrapper.conf file where we need to make the changes:
# Maximum size that the log file will be allowed to grow to before # the log is rolled. Size is specified in bytes. The default value # of 0, disables log rolling. May abbreviate with the 'k' (kb) or # 'm' (mb) suffix. For example: 10m = 10 megabytes. wrapper.logfile.maxsize=10m
Issue/Introduction
This document describes how to control size of cs_monitor.out file
Resolution
To change the size of cs_monitor.out file in particular we need to use following steps: 1) Go to installation directory of TDV server. 2) Go to conf>>monitor 3) Open wrapper.conf file in any editor like notepad ++. 4) search for keyword " monitor.out "
" wrapper.logfile.maxsize=10m " we can make the size from 10m to desired one . ( here m represents file size in megabtes)
Note : We should not make any changes without having the complete knowledge in wrapper.conf file.