{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15965","labels_url":"https://api.github.com/repos/owncloud/core/issues/15965/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15965/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15965/events","html_url":"https://github.com/owncloud/core/pull/15965","id":72126790,"number":15965,"title":"Conditional logging","user":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":168,"closed_issues":967,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-05-04T09:49:43Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":9,"created_at":"2015-04-30T10:51:35Z","updated_at":"2015-05-04T09:56:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/15965","html_url":"https://github.com/owncloud/core/pull/15965","diff_url":"https://github.com/owncloud/core/pull/15965.diff","patch_url":"https://github.com/owncloud/core/pull/15965.patch"},"body":"Log condition for log level increase based on conditions. Once one of these conditions is met, the required log level is set to debug. This allows to debug specific requests, users or apps\r\n\r\nSupported conditions (setting `log_condition` in `config.php`):\r\n    - `secret`: if a request parameter with the name `log_secret` is set to this value the condition is met\r\n    - `users`:  if the current request is done by one of the specified users, this condition is met\r\n    - `apps`:   if the log message is invoked by one of the specified apps, this condition is met\r\n\r\n* [x] requires #15958 (which is included here to easiely test this)\r\n\r\nThis would be really helpful to debug bigger installations where enabling a higher log level isn't a option because of the huge amount of log messages. cc @felixboehm @butonic \r\n\r\ncc @nickvergessen @PVince81 @rullzer @Xenopathic @Raydiation @DeepDiver1975 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/98657339","html_url":"https://github.com/owncloud/core/pull/15965#issuecomment-98657339","issue_url":"https://api.github.com/repos/owncloud/core/issues/15965","id":98657339,"user":{"login":"scrutinizer-notifier","id":6398257,"avatar_url":"https://avatars.githubusercontent.com/u/6398257?v=3","gravatar_id":"","url":"https://api.github.com/users/scrutinizer-notifier","html_url":"https://github.com/scrutinizer-notifier","followers_url":"https://api.github.com/users/scrutinizer-notifier/followers","following_url":"https://api.github.com/users/scrutinizer-notifier/following{/other_user}","gists_url":"https://api.github.com/users/scrutinizer-notifier/gists{/gist_id}","starred_url":"https://api.github.com/users/scrutinizer-notifier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrutinizer-notifier/subscriptions","organizations_url":"https://api.github.com/users/scrutinizer-notifier/orgs","repos_url":"https://api.github.com/users/scrutinizer-notifier/repos","events_url":"https://api.github.com/users/scrutinizer-notifier/events{/privacy}","received_events_url":"https://api.github.com/users/scrutinizer-notifier/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T09:56:56Z","updated_at":"2015-05-04T09:56:56Z","body":"A [new inspection](https://scrutinizer-ci.com/g/owncloud/core/inspections/caf32a5d-c900-46de-8278-db3331cdf9fc) was created."}}