英文:
Solace mqtt connection failure logs
问题
您可以告诉我在哪里可以找到连接Solace PubSub+软件消息代理的失败连接尝试的日志吗?我已将代理部署到AWS。
谢谢。
英文:
May I know where can I find logs of failed connection attempts to Solace PubSub+ Software Message Broker?
I have deployed the broker to AWS.
Thanks.
答案1
得分: 2
请注意,只有在某些连接失败的情况下,代理上才会生成日志。
然而,以下是访问软件事件代理日志的步骤。
a. 访问Solace应用程序 Shell
[sysadmin@solace ~]$ solacectl shell
b. 导航到日志目录
[appuser@solace ~]$ cd logs/
然后,可以在事件、系统和命令日志文件中找到与软件事件代理相关的日志条目。
以下是每个日志文件中包含的内容:
a. 命令日志:有关用户发出的Solace PubSub+事件代理命令的信息
b. 事件日志:系统范围的事件、消息VPN事件、本地发布者、订阅者和客户端事件
c. 系统日志:Solace PubSub+事件代理事件日志的子集
如有必要,您可以参考 https://docs.solace.com/Solace-PubSub-Event-Reference/PubSub-Event-Reference.htm 中的“事件参考”部分,了解可能在Solace PubSub+事件代理上生成的所有可能事件。
英文:
Do note that only under certain connection failure scenarios will logs be generated on the Broker.
Nevertheless, here are the steps to access the logs on a Software Event Broker.
a. Access the Solace Application Shell
[sysadmin@solace ~]$ solacectl shell
b. Navigate to the logs directory
[appuser@solace ~]$ cd logs/
Relevant log entries for the Software Event Broker can then be found in the event, system and command log files.
Here is a breakdown of what is contained in each log file:
a. Command log: Information about Solace PubSub+ event broker commands issued by users
b. Event log: System-wide events, Message VPN events, local publisher, subscriber and client events
c. System log: Subset of the Solace PubSub+ event broker event logs
If necessary, you may refer to https://docs.solace.com/Solace-PubSub-Event-Reference/PubSub-Event-Reference.htm under "Event Reference" for all possible events that can be generated on a Solace PubSub+ event broker.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论