Configuration of the Log4j Properties File

Mainframe WebUI uses log4j to handle message logging.

The default locations of log files and the log4j properties file are as follows:
  • Log Files: TIBCO_HOME\mainframe\WebUI\version\tomcat\logs
  • The Log4j Properties File: TIBCO_HOME\mainframe\WebUI\version\tomcat\webapps\MF_WebUI\WEB-INF\classes

The default logger runtime properties are as follows. Even though it is not recommended to change these properties, you can do so according to your requirements.

To make a change, choose one of the following options:
  • If you want to alter the number of files, on line 4, change 5 to the number of files you require.
  • If you want to alter the max size of each log file, on line 3, change 1000KB to the size you require.
  • If you want to alter level of message reporting on console, change line 16 to comment and uncomment only one of lines 13 to 15.
    Note: # in first char of a line makes it a comment.