Symantec 10490452 Administration Guide - Page 195
Increasing the amount of information in BrightmailLog.log, On Windows
UPC - 037648265683
View all Symantec 10490452 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 195 highlights
Administering the system 195 Administering the Control Center Increasing the amount of information in BrightmailLog.log If you have problems with the Control Center, you can increase the detail of the log messages saved into BrightmailLog.log by changing settings in the log4j.properties file. The BrightmailLog.log contains logging information for the Control Center, including Spam Quarantine. When you increase the logging level of log4j.properties, it creates a lot of log information, so it's recommended to increase the maximum size of the BrightmailLog.log as described below. To increase the detail of logging messages saved into BrightmailLog.log 1 Open the following file in a text editor such as WordPad or vi: On Solaris or Linux: /opt/Symantec/SMSSMTP/tomcat/webapps/brightmail/WEB-INF/ classes/log4j.properties On Windows: C:\Program \ WEB-INF\classes\log4j.properties 2 Find the following line: #log4j.rootLogger=WARN, file 3 Change the word WARN to DEBUG. 4 Find the following line: log4j.appender.file.MaxFileSize=5MB 5 Change the 5MB to the desired number, such as 10MB. 6 Find the following line: log4j.appender.file.MaxBackupIndex=10 7 Change the number after MaxBackupIndex to the desired number, such as 40. This setting determines the number of saved BrightmailLog.log files. For example, if you specify 2, BrightmailLog.log contains the newest information, BrightmailLog.log.1 contains the next newest, and BrightmailLog.log.2 contains the oldest information. When BrightmailLog.log reaches the size indicated by log4j.appender.file.MaxFileSize, then it's renamed to BrightmailLog.log.1, and a new BrightmailLog.log file is created. The original BrightmailLog.log.1 is renamed to BrightmailLog.log.2, etc. This number times the value of log4j.appender.file.MaxFileSize determines the amount of disk space required for these logs. 8 Save and exit from the log4j.properties file. 9 On Windows, use Control Panel > Services to restart Tomcat.