java - 关于 apache 服务器日志的混淆?

标签 java apache tomcat netbeans java-io

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/

相关文章:

java - JVM JIT 诊断工具和优化技巧

java - Android 图片库和 fragment 问题

java - apache http 客户端 org.apache.http.NoHttpResponseException : The target server failed to respond

php - 来自 Php 脚本的 Mysql/Apache 连接错误

php - Magento 可配置产品运行缓慢,strace 显示对/usr/share/zoneinfo 的数千次统计调用

java - Tomcat 不读取 Spring-Boot 应用程序属性

java - 我的 WebApp 如何通过 Tomcat Valve 检索数据集?

java - 处理二维数组的首选方法是什么?

java - apache tomcat 服务器上的 500 内部服务器错误

java - 如何用一个 JUnit 方法检查多个异常?