{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/16639","labels_url":"https://api.github.com/repos/symfony/symfony/issues/16639/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/16639/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/16639/events","html_url":"https://github.com/symfony/symfony/issues/16639","id":118405633,"number":16639,"title":"Autowire does not inject monolog","user":{"login":"chinmayzen","id":5464695,"avatar_url":"https://avatars.githubusercontent.com/u/5464695?v=3","gravatar_id":"","url":"https://api.github.com/users/chinmayzen","html_url":"https://github.com/chinmayzen","followers_url":"https://api.github.com/users/chinmayzen/followers","following_url":"https://api.github.com/users/chinmayzen/following{/other_user}","gists_url":"https://api.github.com/users/chinmayzen/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmayzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmayzen/subscriptions","organizations_url":"https://api.github.com/users/chinmayzen/orgs","repos_url":"https://api.github.com/users/chinmayzen/repos","events_url":"https://api.github.com/users/chinmayzen/events{/privacy}","received_events_url":"https://api.github.com/users/chinmayzen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-23T15:30:46Z","updated_at":"2015-11-23T19:21:48Z","closed_at":null,"body":"I am able to inject monolog using this:\r\n\r\n```\r\nservices:\r\n    service_demo:\r\n        class:  AppBundle\\Services\\ServiceDemo\r\n    service_consumer_demo:\r\n        class:  AppBundle\\Services\\ServiceConsumerDemo\r\n        arguments:  [\"@doctrine.orm.entity_manager\", \"@service_demo\"]\r\n    controllers.home:\r\n        class:  AppBundle\\Controller\\HomeController\r\n        arguments:  [\"@doctrine.orm.entity_manager\", \"@service_consumer_demo\", \"@service_demo\", \"@monolog.logger\"]\r\n```\r\n\r\nBut not using this:\r\n\r\n```\r\nservices:\r\n    controllers.home:\r\n        class:  AppBundle\\Controller\\HomeController\r\n        autowire:   true\r\n```"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/159035284","html_url":"https://github.com/symfony/symfony/issues/16639#issuecomment-159035284","issue_url":"https://api.github.com/repos/symfony/symfony/issues/16639","id":159035284,"user":{"login":"chinmayzen","id":5464695,"avatar_url":"https://avatars.githubusercontent.com/u/5464695?v=3","gravatar_id":"","url":"https://api.github.com/users/chinmayzen","html_url":"https://github.com/chinmayzen","followers_url":"https://api.github.com/users/chinmayzen/followers","following_url":"https://api.github.com/users/chinmayzen/following{/other_user}","gists_url":"https://api.github.com/users/chinmayzen/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmayzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmayzen/subscriptions","organizations_url":"https://api.github.com/users/chinmayzen/orgs","repos_url":"https://api.github.com/users/chinmayzen/repos","events_url":"https://api.github.com/users/chinmayzen/events{/privacy}","received_events_url":"https://api.github.com/users/chinmayzen/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T19:21:48Z","updated_at":"2015-11-23T19:21:48Z","body":"Symfony\\Bridge\\Monolog\\Logger"}}