{"action":"closed","issue":{"url":"https://api.github.com/repos/erlio/vernemq/issues/621","repository_url":"https://api.github.com/repos/erlio/vernemq","labels_url":"https://api.github.com/repos/erlio/vernemq/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/erlio/vernemq/issues/621/comments","events_url":"https://api.github.com/repos/erlio/vernemq/issues/621/events","html_url":"https://github.com/erlio/vernemq/issues/621","id":301436535,"number":621,"title":"Logging in Elixir Plugin","user":{"login":"NickNeck","id":223263,"avatar_url":"https://avatars3.githubusercontent.com/u/223263?v=4","gravatar_id":"","url":"https://api.github.com/users/NickNeck","html_url":"https://github.com/NickNeck","followers_url":"https://api.github.com/users/NickNeck/followers","following_url":"https://api.github.com/users/NickNeck/following{/other_user}","gists_url":"https://api.github.com/users/NickNeck/gists{/gist_id}","starred_url":"https://api.github.com/users/NickNeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickNeck/subscriptions","organizations_url":"https://api.github.com/users/NickNeck/orgs","repos_url":"https://api.github.com/users/NickNeck/repos","events_url":"https://api.github.com/users/NickNeck/events{/privacy}","received_events_url":"https://api.github.com/users/NickNeck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-01T15:00:56Z","updated_at":"2018-03-06T11:00:28Z","closed_at":"2018-03-06T11:00:28Z","author_association":"NONE","body":"Hello,\r\n\r\nI have some errors to log and I do this with Elixirs default backend console and some metadata. \r\n```\r\nconfig :logger, backends: [:console]\r\n\r\nconfig :logger, :console,\r\n  format: \"$time [$level] $message - $metadata\",\r\n  metadata: [:foo, :bar, :baz],\r\n  level: :info\r\n```\r\nIf i call\r\n```\r\nLogger.error(\"Uups\", [foo: \"foo\"])\r\n```\r\nI find my log in `erlang.log.*`\r\n```\r\n14:44:03.257 [error] Uups\r\n```\r\nwithout the metadata.\r\n\r\nCan I config VerneMQ that the log goes to the `console` or `console.log`?\r\n\r\nIt seems `log.console = console` has no effect."}}
{"actor":{"display_login":"NickNeck"}}