Skip to content
New issue

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

Syslog type should be a string #3725

Closed
MPM1107 opened this issue Jun 12, 2020 · 1 comment
Closed

Syslog type should be a string #3725

MPM1107 opened this issue Jun 12, 2020 · 1 comment

Comments

@MPM1107
Copy link

MPM1107 commented Jun 12, 2020

Just solved an issue someone on the discord was having. His z2m was crashing when he tried using the new syslog feature.

His config and log:
https://pastebin.com/6tMkKgN8
https://pastebin.com/xCTCkejK

Turns out that the type being set to 5424 was breaking it, because match() only works on strings, so setting it to '5424' fixed the issue. So this should either be clearly stated in the documentation, or some code should be added to cast the int to a string.

@Koenkk
Copy link
Owner

Koenkk commented Jun 12, 2020

Fixed in latest dev branch, thanks for helping out!

@Koenkk Koenkk closed this as completed Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants