【发布时间】:2015-06-11 21:32:34
【问题描述】:
我有一个生产设置
webSEAL --> F5 --> 2 Apache --- 2 weblogic servers.
对于每个请求,webSEAL 日志打印登录的用户 ID 和 weblogic,它位于基础结构链的最后一个,在 weblogic http access.log 中也有用户 ID(不是应用程序日志,而是 weblogic 内部访问日志),但是Apache 中没有显示任何内容。
即使我在 apache 中添加了新的日志记录配置,它也不会在 apache 访问日志中打印 user_id。它只是打印一个破折号 - (信息不可用)。
以下是httpd.conf中添加的配置和输出。
LogFormat "%h %V %u %t \"%r\" %>s" test
CustomLog logs/testLogs testFormat
***192.168.44.53 localhost - [11/Jun/2015:23:21:39 +0200] "HEAD / HTTP/1.1" 200***
我还需要做什么才能“使用户 ID 可用于 Apache 实例”。
这是我在我的环境中使用的 Apache 2.0X 的参考。 http://httpd.apache.org/docs/2.0/logs.html
【问题讨论】: