-1

无法获取记录器并更改注册到注册表的服务的日志级别。

  1. 从 docker hub 拉取并启动 jhipster-registry v5.0.1。

  2. 使用 jhipster CLI v6.0.1 生成一个微服务网关项目并注册到 jhipster-registry v5.0.1。

  3. 登录 jhipster-registry,进入菜单 Administration > Loggers,从下拉菜单中选择网关微服务,屏幕没有反映正确的记录器结果,也无法更改日志级别。

jhipster-registry 日志显示它尝试调用其余 url management/logs,假设是management/loggers

2019-06-03 09:20:56.458 DEBUG 1 --- [ XNIO-1 task-27] i.g.j.r.f.a.AccessControlFilter          : /services/mygateway/mygateway:190b702ae2370a2a35bdc1b56ab6d131/management/logs
2019-06-03 09:20:56.459 DEBUG 1 --- [ XNIO-1 task-27] i.g.j.r.f.a.AccessControlFilter          : Access Control: allowing access for /services/mygateway/mygateway:190b702ae2370a2a35bdc1b56ab6d131/management/logs, as no access control policy has been set up for service: mygateway:190b702ae2370a2a35bdc1b56ab6d131
4

1 回答 1

0

jhipster-registry 5.0.2解决

于 2019-07-17T10:24:07.843 回答