{"action":"created","issue":{"url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/1171","labels_url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/1171/labels{/name}","comments_url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/1171/comments","events_url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/1171/events","html_url":"https://github.com/EC-CUBE/ec-cube/pull/1171","id":116313420,"number":1171,"title":"ログ出力の修正","user":{"login":"nanasess","id":815715,"avatar_url":"https://avatars.githubusercontent.com/u/815715?v=3","gravatar_id":"","url":"https://api.github.com/users/nanasess","html_url":"https://github.com/nanasess","followers_url":"https://api.github.com/users/nanasess/followers","following_url":"https://api.github.com/users/nanasess/following{/other_user}","gists_url":"https://api.github.com/users/nanasess/gists{/gist_id}","starred_url":"https://api.github.com/users/nanasess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanasess/subscriptions","organizations_url":"https://api.github.com/users/nanasess/orgs","repos_url":"https://api.github.com/users/nanasess/repos","events_url":"https://api.github.com/users/nanasess/events{/privacy}","received_events_url":"https://api.github.com/users/nanasess/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-11T11:21:52Z","updated_at":"2015-11-12T09:05:56Z","closed_at":"2015-11-12T05:15:52Z","pull_request":{"url":"https://api.github.com/repos/EC-CUBE/ec-cube/pulls/1171","html_url":"https://github.com/EC-CUBE/ec-cube/pull/1171","diff_url":"https://github.com/EC-CUBE/ec-cube/pull/1171.diff","patch_url":"https://github.com/EC-CUBE/ec-cube/pull/1171.patch"},"body":"本番運用時に INFO ログを出力するよう設定\r\n- action_level を INFO に変更\r\n- DEBUG レベルにすると, Request の情報も出力する\r\n- exclude_keys に該当する値にはマスクをかける\r\n- ログを改行するよう修正\r\n- ログ出力用に `EntityUtil::dumpToArray()` 追加。 ただし、 serialize() で間に合ったので使用していない"},"comment":{"url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/comments/156038938","html_url":"https://github.com/EC-CUBE/ec-cube/pull/1171#issuecomment-156038938","issue_url":"https://api.github.com/repos/EC-CUBE/ec-cube/issues/1171","id":156038938,"user":{"login":"nanasess","id":815715,"avatar_url":"https://avatars.githubusercontent.com/u/815715?v=3","gravatar_id":"","url":"https://api.github.com/users/nanasess","html_url":"https://github.com/nanasess","followers_url":"https://api.github.com/users/nanasess/followers","following_url":"https://api.github.com/users/nanasess/following{/other_user}","gists_url":"https://api.github.com/users/nanasess/gists{/gist_id}","starred_url":"https://api.github.com/users/nanasess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanasess/subscriptions","organizations_url":"https://api.github.com/users/nanasess/orgs","repos_url":"https://api.github.com/users/nanasess/repos","events_url":"https://api.github.com/users/nanasess/events{/privacy}","received_events_url":"https://api.github.com/users/nanasess/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T09:05:56Z","updated_at":"2015-11-12T09:05:56Z","body":"最初、 オブジェクトは context に渡して 1行ずつ出力していたのですが、接頭辞がついて長いログが見づらいのと、できるだけオブジェクトの中身も出力したかったので、 `Monolog\\Processor\\PsrLogMessageProcessor`(context 出力の実装) を参考にして、独自実装しました。"}}