> I have simple action
> public function testAction()
> {
> /**
> * @var \Symfony\Component\HttpKernel\Log\LoggerInterface $logger
> */
> $logger = $this->get('logger');
> $logger->err('test Action!');
> return new \Symfony\Component\HttpFoundation\Response('123');
> }
> test:
> pattern: /roadmap/test/test
> defaults: { _controller: DomArticleBundle:Default:test }
> I cleared log before visiting page.
> Then I did visit it
> And my log:
> cat ../../tmp/domashniy.lo/logs/dev.log | grep "test Action"
> [2012-11-04 23:17:17] app.ERROR: test Action! [] []
> [2012-11-04 23:17:18] app.ERROR: test Action! [] []
> WTF? Why it executes two times?
> When i look into profiler it shows only one time. But in fact it's twice!
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
> You received this message because you are subscribed to the Google
> Groups "Symfony2" group.
> To post to this group, send email to symfony2@googlegroups.com
> To unsubscribe from this group, send email to
> symfony2+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony2?hl=en