Tracy error.log duplication of same errors which leads to big filesize of error.log

3 years ago

regiss
Member | 61
+
0
-

Tracy 2.4.2 With each reload Tracy writes to error.log same errors. Which leads to big error.log file if many PHP Notices exist. Is it desired behaviour?

Example:

[2016-08-10 11-05-55] PHP Notice: Undefined variable: a_test in /input.php:111 @ http://localhost/test.php
[2016-08-10 11-06-04] PHP Notice: Undefined variable: a_test in /input.php:111 @ http://localhost/test.php

3 years ago

David Grudl
Nette Core | 6847
+
+1
-

Yes, it logs all errors. You should fix errors or use @ operator.

3 years ago

regiss
Member | 61
+
0
-

ok got it. Thank you