ユーザ用ツール

サイト用ツール


mosquitto

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
mosquitto [2020/08/04 12:00] – 作成 nabezomosquitto [2020/08/06 17:12] (現在) – [設定] nabezo
行 13: 行 13:
   #password_file /etc/mosquitto/conf.d/passwd.txt   #password_file /etc/mosquitto/conf.d/passwd.txt
  
 +=== passwordファイル ===
 /etc/mosquitto/conf.d/passwd.txt /etc/mosquitto/conf.d/passwd.txt
   user:pass   user:pass
行 18: 行 19:
 以下のように暗号化する 以下のように暗号化する
   mosquitto_passwd -U password.txt   mosquitto_passwd -U password.txt
 +
 +
 +=== logging設定 ===
 +/etc/mosquitto/conf.d/logging.conf
 +  log_dest syslog
 +  log_dest file /var/log/mosquitto/mosquitto.log
 +  
 +  #log_type debug
 +  log_type error
 +  log_type warning
 +  log_type notice
 +  log_type information
 +  #log_type none
 +  log_type subscribe
 +  log_type unsubscribe
 +  #log_type websockets
 +  #log_type all
 +  
 +  # If set to true, client connection and disconnection messages will be included
 +  # in the log.
 +  connection_messages true
 +  
 +  # If set to true, add a timestamp value to each log message.
 +  log_timestamp true  
 +
  
      
mosquitto.1596510034.txt.gz · 最終更新: 2020/08/04 12:00 by nabezo