em service log

Document ID : KB000103681
Last Modified Date : 28/06/2018
Show Technical Document Details
Introduction:
We have a lot of these logsĀ  EMService.log.xxx do you know how to limit these logs?
Environment:
APM any version on Windows with EM running as a service
Instructions:
In the EMHOME\bin folder is a file emservice.conf it has the following properties you can use to control the creation of these logs

# 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
# Maximum number of rolled log files which will be allowed before old # files are deleted. The default value of 0 implies no limit. wrapper.logfile.maxfiles=0