I am writing a program to print the contents of the 'apache server log' on the console.But I find nothing on the \Apache Software Foundation\Apache Tomcat 7.0.34\logs. I am using apache with netbeans and there is also nothing in apache tomcat 7.0.34 log window on netbeans. How to configure that? P.S- apache is successfully running and I can connect to the port where it is running with other computers and I am using win 7

有帮助吗?

解决方案

What you are looking for is the Tomcat logs. Do not say Apache as most people will think you are referring to the Apache HTTP server.

The name of the log file is catalina.out. Maybe you should read this entry and the following one on the FAQ

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top