PHORAX / formhandler

Fork of TYPO3 extension «Formhandler»
GNU General Public License v2.0
36 stars 54 forks source link

[TASK] migrate error logging while dispatching #58

Closed AnatoliZich closed 4 years ago

AnatoliZich commented 4 years ago

The GeneralUtility::syslog function was removed with v10, resulting in fatal error when formhandler has trouble dispatching a request.

My PR rebuilds the logging to use the TYPO3 Logging API. I could have added configuration so that it continues to write to the syslog but i think thats a bit old fashioned. Instead errors are now written to the default log writers which is more appropriate in my opinion. What do you think?