{"action":"closed","issue":{"url":"https://api.github.com/repos/snc/SncRedisBundle/issues/222","repository_url":"https://api.github.com/repos/snc/SncRedisBundle","labels_url":"https://api.github.com/repos/snc/SncRedisBundle/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/snc/SncRedisBundle/issues/222/comments","events_url":"https://api.github.com/repos/snc/SncRedisBundle/issues/222/events","html_url":"https://github.com/snc/SncRedisBundle/issues/222","id":120224484,"number":222,"title":"Monolog RedisHandler with predis Client does'nt work.","user":{"login":"Axxon","id":2196308,"avatar_url":"https://avatars0.githubusercontent.com/u/2196308?v=4","gravatar_id":"","url":"https://api.github.com/users/Axxon","html_url":"https://github.com/Axxon","followers_url":"https://api.github.com/users/Axxon/followers","following_url":"https://api.github.com/users/Axxon/following{/other_user}","gists_url":"https://api.github.com/users/Axxon/gists{/gist_id}","starred_url":"https://api.github.com/users/Axxon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Axxon/subscriptions","organizations_url":"https://api.github.com/users/Axxon/orgs","repos_url":"https://api.github.com/users/Axxon/repos","events_url":"https://api.github.com/users/Axxon/events{/privacy}","received_events_url":"https://api.github.com/users/Axxon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-12-03T17:16:19Z","updated_at":"2018-04-06T15:13:44Z","closed_at":"2018-04-06T15:13:44Z","author_association":"NONE","body":"Hello everyone, i'm just starting this week to play with redis, i tried to post my logs into redis db but i think there is a mistake in the redisHandler at this section (l.68):\n\n```\n        $this->redis->multiExec(function($multi) use ($key, $buffer) {\n            foreach ($buffer as $record) {\n                $multi->rpush($key, $record);\n            }\n        });\n```\n\nThe multiExec is supposed to be a command Id and the callable the attached argument for the createCommand method. But, when look into the redis documentation multiExec is'nt defined (edit. or that's a method removed into the predis Client).\n\nSo please, somebody more expert than me could fix that or explain me something that i missed.\n\nSo for a temporary solution i changed the function by:\n\n```\n            foreach ($buffer as $record) {\n                $this->redis->rpush($key, $record);\n            }\n```\n\nI think the callable had a performance reason to be, there probably a better solution.\n"}}
{"actor":{"display_login":"curry684"}}