After having spent quite a few hours with ChatGPT, Google, and reading documentation, I think it’s time to ask here: how can I remove “Got error ‘PHP message:” from log messages?
HTTP directive: ErrorLogFormat “%t Z – %M”
In my php file I done: error_log(“hello“);
What I have in my error_log file: “Wed Jul 03 10:16:29 2024 Z – AH01071: Got error ‘PHP message: hello'”
What I want in my error_log file: “Wed Jul 03 10:16:29 2024 Z – hello”
Note: I’m using Apache with FastCGI, the default Plesk Apache config