J'aimerais savoir s'il est possible de personnaliser les logs d'erreurs de php/xdebug (étant donné que xdebug lui les modifies par rapport à la version de base de php).
En fait mes logs ressemblent à ça:
et j'avoue que j'ai du mal à les lire...[24-Dec-2010 10:39:34] PHP Notice: Undefined variable: xxxx in /path/to/file.php on line 34
[24-Dec-2010 10:39:34] PHP Stack trace:
[24-Dec-2010 10:39:34] PHP 1. {main}() /path/to/file1.php:0
[24-Dec-2010 10:39:34] PHP 2. include() /path/to/file2.php:252
[24-Dec-2010 10:39:34] PHP Notice: Undefined variable: yyyy in /path/to/file.php on line 35
[24-Dec-2010 10:39:34] PHP Stack trace:
[24-Dec-2010 10:39:34] PHP 1. {main}() /path/to/file1.php:0
[24-Dec-2010 10:39:34] PHP 2. include() /path/to/file2.php:252
[24-Dec-2010 10:39:34] PHP Notice: Undefined variable: zzz in /path/to/file.php on line 36
[24-Dec-2010 10:39:34] PHP Stack trace:
[24-Dec-2010 10:39:34] PHP 1. {main}() /path/to/file1.php:0
[24-Dec-2010 10:39:34] PHP 2. include() /path/to/file2.php:252
J'aimerai pourvoir au minimum ajouter une séparation:
Donc si vous avez des infos à ce niveau je suis preneur[24-Dec-2010 10:39:34] PHP Notice: Undefined variable: xxxx in /path/to/file.php on line 34
[24-Dec-2010 10:39:34] PHP Stack trace:
[24-Dec-2010 10:39:34] PHP 1. {main}() /path/to/file1.php:0
[24-Dec-2010 10:39:34] PHP 2. include() /path/to/file2.php:252
---------
[24-Dec-2010 10:39:34] PHP Notice: Undefined variable: yyyy in /path/to/file.php on line 35
[24-Dec-2010 10:39:34] PHP Stack trace:
[24-Dec-2010 10:39:34] PHP 1. {main}() /path/to/file1.php:0
[24-Dec-2010 10:39:34] PHP 2. include() /path/to/file2.php:252
---------
[24-Dec-2010 10:39:34] PHP Notice: Undefined variable: zzz in /path/to/file.php on line 36
[24-Dec-2010 10:39:34] PHP Stack trace:
[24-Dec-2010 10:39:34] PHP 1. {main}() /path/to/file1.php:0
[24-Dec-2010 10:39:34] PHP 2. include() /path/to/file2.php:252
Merci d'avance!