拖曳系统下响应时间的访问日志模式-WildFly 14.0.1 [英] Access log pattern for Response time Undertow system- Wildfly 14.0.1
本文介绍了拖曳系统下响应时间的访问日志模式-WildFly 14.0.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
记录下行子系统上请求的总响应时间的访问日志模式是什么?
<subsystem xmlns="urn:jboss:domain:undertow:7.0" default-server="default-server" default-virtual-host="default-host" default-servlet-container="default" default-security-domain="other">
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true"/>
<https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
<host name="default-host" alias="localhost">
<access-log prefix="access" pattern="%h %t %U%q %m %s %b %T"/> <!-- use-server-log="true" -->
<location name="/" handler="welcome-content"/>
<http-invoker security-realm="ApplicationRealm"/>
</host>
</server>
<servlet-container name="default">
<jsp-config/>
<websockets/>
</servlet-container>
<handlers>
<file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
</handlers>
</subsystem>
%T在日志中仅记录一个‘-’。请帮帮忙。
推荐答案
Here我发现以下提示:
处理请求所用的时间(秒)。除非将Record-Request-Start-Time设置为true,否则它不会工作,请参阅上面的%D。
还有一个如何配置它的链接。record-request-start-time
这篇关于拖曳系统下响应时间的访问日志模式-WildFly 14.0.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文