Open dshanske opened 7 years ago
Need a way to know if webmention has been sent or not. I would vote for post meta.
There is a list of pinged URLs in the "send Trackbacks" area. It shows pingbacks, trackbacks and webmentions
Where would collective "we" consider viable storage options for logs? Custom db table? Saved option that can be routinely cleared out? File dropped into a writable wp-content folder?
We tend to avoid custom DB tables if we can. File is probably the best, or in post meta for the post related to the mentions.
Thoughts on using a hidden post type for logs? I know my employer has https://github.com/WebDevStudios/WDS-Log-Post as an example of what could be done.
It could be forked/reviewed/updated for current-ness, but it's an option that could be implemented.
It could also be something that is registered or have the post type UI shown if a logging setting is enabled. That also brings up another good point regarding this enhancement overall, we potentially wouldn't want to be logging constantly, though it wouldn't execute on every single page request either.
Not against it. I think Woocommerce uses the comment table. We just need a cleanup function.
My 5 cent: I would prefer the build in file-logging. A dB log makes only sense if you really need detailed informations about transactions. In our case it is only, as far as I understand, a way to debug errors.
In #89 we addressed by adding a hook to allow logging. But no one has actually built any logging into the plugin. Want to explore if we can use the hook now to go farther and how we would log outgoing webmentions.