Fixed visquitto's logging issue
This commit is contained in:
+2
-4
@@ -34,10 +34,8 @@ chmod 600 "$CERTDIR/key.pem"
|
||||
|
||||
# ---- Defaults in /config (regenerated at every start) ----
|
||||
cat > "$CONFIG/mosquitto.conf" <<EOF
|
||||
log_dest stdout
|
||||
log_type error
|
||||
log_type warning
|
||||
log_type notice
|
||||
$(jq -r '.log_dest[]? | "log_dest \(.)"' /data/options.json)
|
||||
$(jq -r '.log_type[]? | "log_type \(.)"' /data/options.json)
|
||||
log_timestamp_format %Y-%m-%d %H:%M:%S
|
||||
|
||||
persistence true
|
||||
|
||||
Reference in New Issue
Block a user