From c9383acd36023ba88f7a3371ea33c160905637e0 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 26 Jun 2024 22:30:40 +0200 Subject: [PATCH] Log PHP errors to syslog Also provide an example command to list issues. --- systems/web-development/typo3.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systems/web-development/typo3.nix b/systems/web-development/typo3.nix index 210798c..374b068 100644 --- a/systems/web-development/typo3.nix +++ b/systems/web-development/typo3.nix @@ -65,7 +65,10 @@ in { max_input_vars = 1500 display_errors = 1 + log_errors = 1 error_reporting = E_ALL + # One can watch all errors via command: journalctl -f --identifier php -o verbose --output-fields=_SYSTEMD_UNIT,MESSAGE + error_log = syslog xdebug.mode = debug xdebug.var_display_max_children = 2048