The location of the log file is determined by the log4j.properties file. The default setting for the hpqm.log file is log4j.appender.fileappender.File=${hpqm.log4j.base}\hpqm.log. You can set the location of the log4j.properties file with the JVM argument -Dlog4j.configuration=<full file path>.
If you are using the WebSphere® Application Server, the default hpqm.log file location is app_server_root\profiles\profile_name\logs, where app_server_root is the WebSphere Application Server installation root.
The default location for the log4j.properties file is app_server_root\AppServer\profiles\profile-name\installedApps\server-name\hpqm_war.ear\hpqm.war\WEB-INF\. JVM arguments are set in the WebSphere Application Server JVM configuration page.
If you are using a Tomcat server that is started with server.startup.bat, the default hpqm.log file location is \server\tomcat\logs.
The default location for the log4j.properties file is LIA_install_dir\server\tomcat\webapps\hpqm\WEB-INF\classes\log4j.properties. JVM arguments are set in the server.startup script from the command line.