We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Logger duplicated records

I'm using MVC example from git Simple-volt for testing. I've registred logger as service. In controller I'm calling it

$this->logger->debug('Hi from Index')

Why In log file I'm getting duplicate records?? Tripple checked - I called it only once!

[2017-01-25 14:23:01] [DEBUG] Hi from Index

[2017-01-25 14:23:01] [DEBUG] Hi from Index

Thanks!



85.5k
Accepted
answer

robots.txt/favicon probably

check devtools requests, probably the responce of robots.txt is the index of yuour page



1.4k

Yes! It was favicon. Thanks!