ltb-project / service-desk

Application for support team who need to check and reset user passwords
https://service-desk.readthedocs.io/
GNU General Public License v3.0
49 stars 19 forks source link

Improve smarty debug log #112

Open cmaudoux opened 6 months ago

cmaudoux commented 6 months ago

Hi,

When enabling debug logs, lots of messages linked to warning and deprecated features are displayed polluting the screen. image

Furthermore, I had to disable background to be able to read logs. It could be nice to automaticaly remove the background when debug is set to True.

Cheers

coudot commented 6 months ago

Hello @cmaudoux

you should configure your PHP settings to not display errors on page but on the error log file: https://www.php.net/manual/fr/errorfunc.configuration.php#ini.display-errors

cmaudoux commented 6 months ago

Hi @coudot

Thx for your reply. But the deprecated features and warning are still existing...

coudot commented 6 months ago

When debug is on, all messages are dumped into error_log. What is your need?

cmaudoux commented 6 months ago

Fix the deprecated features