Feature #105123
closedProvide LogWriter for sending emails
0%
Description
It would be great to have a LogWriter which allows sending emails from the Logging Framework.
Updated by Stefan Neufeind about 2 months ago
If you wish I can provide a basic EmailWriter. We would need to decide if/how we want to introduce templating or not (adding flexibility or avoiding complexity), ...
Updated by Garvin Hicking about 2 months ago
- Status changed from New to Needs Feedback
I would suggest not to create synchronous mail logging. This can spiral out of control in case of many errors.
I recommend to write a messenger bus interface to a logfile watch process, or dedicated tools that can watch a logfile and send aggregated mails. Or a scheduler/cli command that watches these files.
Also I think after https://talk.typo3.org/t/improve-typo3-error-log/5223/12 there was an extension dedicated to this?
Updated by Stefan Neufeind about 2 months ago
Good points. I wasn't aware of that initiative for logging improvement. If that path could be followed that would surely be a better solution in the long run.
Updated by Garvin Hicking about 2 months ago
Found it: https://typo3.org/article/introducing-the-advanced-error-log-extension
Would you be okay with closing it here, because I think that initative would probably better suited than in the core currently...?
Updated by Stefan Neufeind about 2 months ago
- Status changed from Needs Feedback to Closed
Agreed, let's close it for now and improve with the mentioned logging-initiative.