Logging

WebConsole uses log4j for application logging. By default, the WebConsole logs are generated under CONFIG_FOLDER/logs/hawkwebconsole.log.

You can modify the default log4j config file WEB-INF/conf/log4j_webconsole.properties or use your own properties file.

You can configure the location of logs using the log4j.appender.RFileApp.File property in the log4j config file (WEB-INF/conf/log4j_webconsole.properties).

For example, the default location of logs is as follows:

log4j.appender.RFileApp.File=C:/ProgramData/HK510v11/tibco/cfgmgmt/hawk/logs/hawkwebconsole.log

You can specify your properties file location in the WEB-INF/web.xml file as follows:

<context-param>
      <param-name>log4j_config_file</param-name>
      <param-value>/log4j_webconsole.properties</param-value>
</context-param>

By default, Tomcat server logs are generated at HAWK_HOME/webconsole/logs.