【发布时间】:2020-06-21 03:52:15
【问题描述】:
我想在 Mosquitto 上启用日志记录,它在 Windows Server 2016 上作为 Windows 服务运行。
我知道我必须更改mosquitto.conf文件并重新启动服务,但我不知道如何正确更改mosquitto.conf。
我在 C:\Program Files\mosquitto\ 下安装了 mosquitto,我想启用以下功能
log_type error
log_type warning
log_type notice
log_type information
connection_messages true
log_timestamp true
我希望将所有内容都记录到同一文件夹下的单个 txt 文件中。
【问题讨论】:
标签: windows logging server mosquitto