如何告诉weblogic不在其访问日志中记录某些请求?

时间:2017-08-01 23:29:50

标签: weblogic weblogic12c access-log

我已经将所有请求发送到weblogic服务器中的access.log,我需要停止记录一些请求模式。有可能吗?

我已经使用CustomELFLogger自定义了访问记录器,似乎没有选项可以阻止日志访问access.log文件。

还有其他想法吗?

1 个答案:

答案 0 :(得分:0)

There is no feature to filter the particular requests but a workaround would be , implement the customelflogger and replace cs-uri filed with custom class.

In the custom class, just put a condition for the specific requests that needs to be filtered and leave the rest.

It is working as expected.