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
最佳答案
您正在寻找的是 Tomcat 日志。不要说 Apache,因为大多数人会认为您指的是 Apache HTTP 服务器。
日志文件的名称是 catalina.out
。也许你应该阅读 this常见问题解答中的条目和以下内容
关于java - 关于 apache 服务器日志的混淆?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22683492/