Is it possible to change the default size for log files in TeamInspector?

0 Likes

Problem:

Is it possible to change the default size for log files in TeamInspector?

Resolution:

Yes, the default size of log files can be changed in TeamInspector. The default settings have 1 backup log file and a default size of 100KB (for each type of log file). These values can be changed by modifying the log4j-.properties file located in the /conf directory. For example, for the teaminspector-job.log file you will get at most 2 files (1 1 backup) that are 100KB each. If you want to have the teaminspector-job.log files to be 500KB and have 5 backups then you would edit the file "log4j-job.properties" as follows :

log4j.appender.file.MaxFileSize=500KB

log4j.appender.file.MaxBackupIndex=5

Old KB# 30118
Comment List
Related
Recommended