{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/64132702","id":64132702,"diff_hunk":"@@ -26,6 +26,60 @@ The ``logger`` service has different methods for different logging levels.\n See :class:`Symfony\\\\Component\\\\HttpKernel\\\\Log\\\\LoggerInterface` for details\n on which methods are available.\n \n+Since version `2.11 of MonologBundle <https://github.com/symfony/monolog-bundle/releases/tag/2.11.0>`\n+an extra parameter for disabling the microsecond precision is available. This is\n+kind of a micro optimization but could speed up log generation, specially if you log\n+a lot of debug messages.\n+\n+.. configuration-block::\n+\n+    .. code-block:: yaml\n+\n+        # app/config/config.yml\n+        monolog:\n+            use_microseconds: false\n+            handlers:\n+                applog:\n+                    type: stream\n+                    path: /var/log/symfony.log\n+                    level: error\n+\n+    .. code-block:: xml\n+\n+        <!-- app/config/config.xml -->\n+        <?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n+        <container xmlns=\"http://symfony.com/schema/dic/services\"\n+            xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n+            xmlns:monolog=\"http://symfony.com/schema/dic/monolog\"\n+            xsi:schemaLocation=\"http://symfony.com/schema/dic/services\n+                http://symfony.com/schema/dic/services/services-1.0.xsd\n+                http://symfony.com/schema/dic/monolog\n+                http://symfony.com/schema/dic/monolog/monolog-1.0.xsd\">\n+\n+            <monolog:config use_microseconds=\"false\">\n+                <monolog:handler\n+                    name=\"applog\"\n+                    type=\"stream\"\n+                    path=\"/var/log/symfony.log\"\n+                    level=\"error\"\n+                />\n+            </monolog:config>\n+        </container>\n+\n+    .. code-block:: php\n+\n+        // app/config/config.php\n+        $container->loadFromExtension('monolog', array(\n+            'use_microseconds' => false","path":"cookbook/logging/monolog.rst","position":48,"original_position":48,"commit_id":"c9611df17d8ccc5a38d2c4601f94758385555eaa","original_commit_id":"c9611df17d8ccc5a38d2c4601f94758385555eaa","user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"body":"missing comma after `false`","created_at":"2016-05-21T10:56:32Z","updated_at":"2016-05-21T10:56:32Z","html_url":"https://github.com/symfony/symfony-docs/pull/6583#discussion_r64132702","pull_request_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/6583","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/64132702"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/6583#discussion_r64132702"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/6583"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/6583","id":70946385,"html_url":"https://github.com/symfony/symfony-docs/pull/6583","diff_url":"https://github.com/symfony/symfony-docs/pull/6583.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/6583.patch","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/6583","number":6583,"state":"open","locked":false,"title":"Adding a description for the use_microseconds parameter introduced in MonologBundle v2.11","user":{"login":"jorgelbg","id":1291846,"avatar_url":"https://avatars.githubusercontent.com/u/1291846?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgelbg","html_url":"https://github.com/jorgelbg","followers_url":"https://api.github.com/users/jorgelbg/followers","following_url":"https://api.github.com/users/jorgelbg/following{/other_user}","gists_url":"https://api.github.com/users/jorgelbg/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgelbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgelbg/subscriptions","organizations_url":"https://api.github.com/users/jorgelbg/orgs","repos_url":"https://api.github.com/users/jorgelbg/repos","events_url":"https://api.github.com/users/jorgelbg/events{/privacy}","received_events_url":"https://api.github.com/users/jorgelbg/received_events","type":"User","site_admin":false},"body":"This adds a small paragraph bellow the usage section with an explanation and an example block.\r\n\r\n| Q             | A\r\n| ------------- | ---\r\n| Doc fix?      | yes\r\n| New docs?     | no\r\n| Applies to    | >= 2.3\r\n| Fixed tickets | #6466","created_at":"2016-05-21T10:48:58Z","updated_at":"2016-05-21T10:56:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59c9c999770f966d9f76c5c44b9af64933238f3f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/6583/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/6583/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/6583/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/c9611df17d8ccc5a38d2c4601f94758385555eaa","head":{"label":"jorgelbg:monolog_microseconds","ref":"monolog_microseconds","sha":"c9611df17d8ccc5a38d2c4601f94758385555eaa","user":{"login":"jorgelbg","id":1291846,"avatar_url":"https://avatars.githubusercontent.com/u/1291846?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgelbg","html_url":"https://github.com/jorgelbg","followers_url":"https://api.github.com/users/jorgelbg/followers","following_url":"https://api.github.com/users/jorgelbg/following{/other_user}","gists_url":"https://api.github.com/users/jorgelbg/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgelbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgelbg/subscriptions","organizations_url":"https://api.github.com/users/jorgelbg/orgs","repos_url":"https://api.github.com/users/jorgelbg/repos","events_url":"https://api.github.com/users/jorgelbg/events{/privacy}","received_events_url":"https://api.github.com/users/jorgelbg/received_events","type":"User","site_admin":false},"repo":{"id":59349779,"name":"symfony-docs","full_name":"jorgelbg/symfony-docs","owner":{"login":"jorgelbg","id":1291846,"avatar_url":"https://avatars.githubusercontent.com/u/1291846?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgelbg","html_url":"https://github.com/jorgelbg","followers_url":"https://api.github.com/users/jorgelbg/followers","following_url":"https://api.github.com/users/jorgelbg/following{/other_user}","gists_url":"https://api.github.com/users/jorgelbg/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgelbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgelbg/subscriptions","organizations_url":"https://api.github.com/users/jorgelbg/orgs","repos_url":"https://api.github.com/users/jorgelbg/repos","events_url":"https://api.github.com/users/jorgelbg/events{/privacy}","received_events_url":"https://api.github.com/users/jorgelbg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jorgelbg/symfony-docs","description":"The Symfony documentation","fork":true,"url":"https://api.github.com/repos/jorgelbg/symfony-docs","forks_url":"https://api.github.com/repos/jorgelbg/symfony-docs/forks","keys_url":"https://api.github.com/repos/jorgelbg/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jorgelbg/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jorgelbg/symfony-docs/teams","hooks_url":"https://api.github.com/repos/jorgelbg/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/jorgelbg/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/jorgelbg/symfony-docs/events","assignees_url":"https://api.github.com/repos/jorgelbg/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/jorgelbg/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/jorgelbg/symfony-docs/tags","blobs_url":"https://api.github.com/repos/jorgelbg/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jorgelbg/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jorgelbg/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/jorgelbg/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jorgelbg/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/jorgelbg/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/jorgelbg/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/jorgelbg/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/jorgelbg/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/jorgelbg/symfony-docs/subscription","commits_url":"https://api.github.com/repos/jorgelbg/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/jorgelbg/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/jorgelbg/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/jorgelbg/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/jorgelbg/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/jorgelbg/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jorgelbg/symfony-docs/merges","archive_url":"https://api.github.com/repos/jorgelbg/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jorgelbg/symfony-docs/downloads","issues_url":"https://api.github.com/repos/jorgelbg/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/jorgelbg/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/jorgelbg/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/jorgelbg/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jorgelbg/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/jorgelbg/symfony-docs/releases{/id}","deployments_url":"https://api.github.com/repos/jorgelbg/symfony-docs/deployments","created_at":"2016-05-21T08:30:37Z","updated_at":"2016-05-21T08:30:42Z","pushed_at":"2016-05-21T10:41:56Z","git_url":"git://github.com/jorgelbg/symfony-docs.git","ssh_url":"git@github.com:jorgelbg/symfony-docs.git","clone_url":"https://github.com/jorgelbg/symfony-docs.git","svn_url":"https://github.com/jorgelbg/symfony-docs","homepage":"http://symfony.com/doc","size":34875,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"symfony:2.3","ref":"2.3","sha":"7a3eca6959666c58bc8c7ea0ac24b0ba9822634e","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":521583,"name":"symfony-docs","full_name":"symfony/symfony-docs","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony-docs","description":"The Symfony documentation","fork":false,"url":"https://api.github.com/repos/symfony/symfony-docs","forks_url":"https://api.github.com/repos/symfony/symfony-docs/forks","keys_url":"https://api.github.com/repos/symfony/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-docs/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-docs/events","assignees_url":"https://api.github.com/repos/symfony/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-docs/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-docs/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-docs/merges","archive_url":"https://api.github.com/repos/symfony/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-docs/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-docs/releases{/id}","deployments_url":"https://api.github.com/repos/symfony/symfony-docs/deployments","created_at":"2010-02-17T08:43:51Z","updated_at":"2016-05-19T07:17:22Z","pushed_at":"2016-05-21T10:55:37Z","git_url":"git://github.com/symfony/symfony-docs.git","ssh_url":"git@github.com:symfony/symfony-docs.git","clone_url":"https://github.com/symfony/symfony-docs.git","svn_url":"https://github.com/symfony/symfony-docs","homepage":"http://symfony.com/doc","size":55162,"stargazers_count":1108,"watchers_count":1108,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2426,"mirror_url":null,"open_issues_count":314,"forks":2426,"open_issues":314,"watchers":1108,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/6583"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/6583"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/6583"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/6583/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/6583/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/6583/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-docs/statuses/c9611df17d8ccc5a38d2c4601f94758385555eaa"}}}}
{"actor":{"display_login":"xabbuh"}}