Page 1 sur 1

Xdebug / Personnalisation de logs d'erreur

Posté : 24 déc. 2010, 11:49
par jojolapine
Bonjour à tous,

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:
[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
et j'avoue que j'ai du mal à les lire...
J'aimerai pourvoir au minimum ajouter une séparation:
[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
Donc si vous avez des infos à ce niveau je suis preneur ;)

Merci d'avance!