request.getRemoteUser==null;如何记录从apache到tomcat的所有流量
我将连接器定义为:request.getRemoteUser==null;如何记录从apache到tomcat的所有流量,tomcat,apache2,mod-jk,Tomcat,Apache2,Mod Jk,我将连接器定义为: <Connector protocol="AJP/1.3" enableLookups="false" tomcatAuthentication="false" scheme="https" secure="true" address="127.0.0.1" port="8009" /> 但是,request.getRemoteUser返回null 我的问题是如何让Apache记录它发送给Tomcat的“所有内容”
<Connector protocol="AJP/1.3" enableLookups="false" tomcatAuthentication="false" scheme="https"
secure="true"
address="127.0.0.1"
port="8009" />
但是,request.getRemoteUser返回null
我的问题是如何让Apache记录它发送给Tomcat的“所有内容”?我将apache和mod_jk日志级别设置为“debug”
任何指针都将受到高度赞赏。启用
mod_jk
日志应该可以:
# Where to put jk logs
JkLogFile /var/log/httpd/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
希望这能有所帮助。谢谢您的回复,不过,我确实将mod_jk日志设置为debug。仍然看不到标题。