如何查看/配置KeyCloak使用的http服务器的访问日志?
我正在尝试调查与 KeyCloak管理员ui的connection_refused_error。
尝试将以下<access-log>标签添加到WildFly服务器配置文件中,例如:standalone/configuration/standalone.xml。
<subsystem xmlns="urn:jboss:domain:undertow:4.0">
<buffer-cache name="default"/>
<server name="default-server">
...
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<!-- Add the following line -->
<access-log worker="default" directory="${jboss.server.log.dir}" prefix="access." suffix="log"/>
<http-invoker security-realm="ApplicationRealm"/>
<filter-ref name="proxy-peer"/>
</host>
</server>
Run Code Online (Sandbox Code Playgroud)
您可以access.log在standalone/log/目录中看到。
| 归档时间: |
|
| 查看次数: |
2909 次 |
| 最近记录: |