Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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!



61.0k
Accepted
answer

robots.txt/favicon probably

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

Yes! It was favicon. Thanks!