I am trying to debug why I am getting a 404 when trying to access the url of the war I run using maven cargo with Tomcat container. I suspect the war is not starting up and need to check the localhost log file to debug the issue. I do not see any errors in cargo log.
I cannot find the localhost log file in the target/cargo/configurations/tomcat8x/logs folder. The deployment is going successfully. Do you know where I can find the file or better way to debug the issue?
Snippet of the maven cargo plugin configuration
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<configuration>
<container>
<containerId>${tomcat.containerId}</containerId>
<log>${project.build.directory}/cargo/logs/cargo.log</log>
<output>${project.build.directory}/cargo/logs/container.log</output>
<logLevel>debug</logLevel>
<artifactInstaller>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat</artifactId>
<version>${tomcat.version}</version>
</artifactInstaller>