Log PHP errors to syslog

Also provide an example command to list issues.
This commit is contained in:
Daniel Siepmann 2024-06-26 22:30:40 +02:00
parent a2d6871a5d
commit c9383acd36
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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