this post was submitted on 09 Jul 2023
4 points (100.0% liked)
ntfy
4 readers
3 users here now
ntfy (pronounced notify) is a simple HTTP-based pub-sub notification service. You can use it to send push notifications to your phone via HTTP PUT/POST.
ntfy website • Documentation • GitHub • Google Play • F-Droid • Discord • App Store • Matrix
If you'd like to become a sponsor, I would be humbled to accept your donation via GitHub Sponsors or Liberapay 💸💰.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Nevermind. I found the problem. It was not NTFY's fault. Some of the notifications that were POSTed to NTFY, didn't follow the correct syntax (was sending "attach" in the JSON as string[] instead of a single string).
Would be nice though if NTFY could provide a debug log to catch such cases.
That's a great username, dude. 😎 Glad you solved your problem.
Next time, check out this page to help you increase the log levels: https://docs.ntfy.sh/troubleshooting/
I also see
log-file
option. Is it possible to log both to a file (for later inspection) and to stderr?It is not possible to log to both. I'm sure there is some Unix trick to do both, but I don't know.