We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The syslog output is JSON rather than plain text. This is discussed in #3647, but that is closed without any solution to this aspect.
Jul 27 09:56:26 localhost zigbee2mqtt[8811]: {"message":"MQTT publish: topic 'homeassistant/sensor/0x00178801080bbff9/action/config', payload '{\"icon\":\"mdi:gesture-double-tap\",\"value_template\":\"{{ value_json.action }}\",\"state_topic\":\"zigbee2mqtt/0x00178801080bbff9\",\"json_attributes_topic\":\"zigbee2mqtt/0x00178801080bbff9\",\"name\":\"0x00178801080bbff9_action\",\"unique_id\":\"0x00178801080bbff9_action_zigbee2mqtt\",\"device\":{\"identifiers\":[\"zigbee2mqtt_0x00178801080bbff9\"],\"name\":\"0x00178801080bbff9\",\"sw_version\":\"Zigbee2mqtt 1.14.2\",\"model\":\"Hue dimmer switch (324131092621)\",\"manufacturer\":\"Philips\"},\"availability_topic\":\"zigbee2mqtt/0x00178801080bbff9/availability\"}'","level":"info"}
Plain text is sent to the syslog daemon, like the console messages:
MQTT publish: topic 'zigbee2mqtt/0x00178801080bbff9/availability', payload 'online'
Configure with:
advanced: log_output: - syslog log_syslog: protocol: udp4 port: 514 type: bsd
Zigbee2mqtt version: 1.14.2
The text was updated successfully, but these errors were encountered:
output plain text to syslog (Koenkk#3984)
ac5cc33
output plain text to syslog (#3985)
f5e5c76
* output plain text to syslog (#3984) * fix lint warnings Co-authored-by: Hamish Moffatt <hamish@moffatt.id.au>
Merged, thanks!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Report
What happened
The syslog output is JSON rather than plain text. This is discussed in #3647, but that is closed without any solution to this aspect.
What did you expect to happen
Plain text is sent to the syslog daemon, like the console messages:
MQTT publish: topic 'zigbee2mqtt/0x00178801080bbff9/availability', payload 'online'
How to reproduce it (minimal and precise)
Configure with:
Debug Info
Zigbee2mqtt version: 1.14.2
The text was updated successfully, but these errors were encountered: