温馨提示:本文翻译自stackoverflow.com,查看原文请点击:http - Mule ESB CloudHub No listener found for request and Available listeners are
http logging mule mule-esb cloudhub

http - Mule ESB CloudHub找不到请求的侦听器,并且可用侦听器为

发布于 2020-04-21 22:10:28

多个应用程序已部署到Mule CloudHub,并且有人想发送某种请求,导致其日志混乱/散乱:

No listener found for request: (GET)/


No listener found for request: (POST)/azenv.php


No listener found for request: (HEAD)/robots.txt


No listener found for request: (GET)/manager/html

作为示例,并:

Available listeners are: [listed available API endpoints, won't expose them here]

由于应用程序日志被限制为一定的MB和时间量,因此这些垃圾邮件日志变得混乱不堪,并推迟了重要的日志。

侦听器正在使用HTTP协议。

据我所知,处理该问题的方法是设置VPC和/或至少将HTTPS与TSL / SSL结合使用。除了VPC和HTTPS之外,还有哪些其他选择?

查看更多

提问者
Tomeister
被浏览
20
afelisatti 2020-02-06 02:40

最简单的方法是将类的日志级别切换为触发那些日志到“更高”级别。该信息应该在完整的日志条目中可用,但是我相信该类是org.mule.module.http.internal.listener.HttpListenerRegistry应该的,并且WARN级别应该可以。