{"action":"opened","issue":{"url":"https://api.github.com/repos/owncloud/documentation/issues/2608","repository_url":"https://api.github.com/repos/owncloud/documentation","labels_url":"https://api.github.com/repos/owncloud/documentation/issues/2608/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/documentation/issues/2608/comments","events_url":"https://api.github.com/repos/owncloud/documentation/issues/2608/events","html_url":"https://github.com/owncloud/documentation/issues/2608","id":175265618,"number":2608,"title":"[admin] document conditional logging","user":{"login":"butonic","id":956847,"avatar_url":"https://avatars.githubusercontent.com/u/956847?v=3","gravatar_id":"","url":"https://api.github.com/users/butonic","html_url":"https://github.com/butonic","followers_url":"https://api.github.com/users/butonic/followers","following_url":"https://api.github.com/users/butonic/following{/other_user}","gists_url":"https://api.github.com/users/butonic/gists{/gist_id}","starred_url":"https://api.github.com/users/butonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butonic/subscriptions","organizations_url":"https://api.github.com/users/butonic/orgs","repos_url":"https://api.github.com/users/butonic/repos","events_url":"https://api.github.com/users/butonic/events{/privacy}","received_events_url":"https://api.github.com/users/butonic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-06T14:43:10Z","updated_at":"2016-09-06T14:43:10Z","closed_at":null,"body":"https://github.com/owncloud/core/pull/15965#issue-72126790 contains a textual description. config.sample.php contains\r\n```php\r\n/**\r\n * Log condition for log level increase based on conditions. Once one of these\r\n * conditions is met, the required log level is set to debug. This allows to\r\n * debug specific requests, users or apps\r\n *\r\n * Supported conditions:\r\n *  - ``shared_secret``: if a request parameter with the name `log_secret` is set to\r\n *                this value the condition is met\r\n *  - ``users``:  if the current request is done by one of the specified users,\r\n *                this condition is met\r\n *  - ``apps``:   if the log message is invoked by one of the specified apps,\r\n *                this condition is met\r\n *\r\n * Defaults to an empty array.\r\n */\r\n'log.condition' => [\r\n\t'shared_secret' => '57b58edb6637fe3059b3595cf9c41b9',\r\n\t'users' => ['sample-user'],\r\n\t'apps' => ['files'],\r\n],\r\n```"}}
{"actor":{"display_login":"butonic"}}