{"action":"closed","issue":{"url":"https://api.github.com/repos/inakianduaga/log-proxy-server/issues/8","labels_url":"https://api.github.com/repos/inakianduaga/log-proxy-server/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/inakianduaga/log-proxy-server/issues/8/comments","events_url":"https://api.github.com/repos/inakianduaga/log-proxy-server/issues/8/events","html_url":"https://github.com/inakianduaga/log-proxy-server/issues/8","id":53820008,"number":8,"title":"Implement header-based configuration or token-based configuration","user":{"login":"inakianduaga","id":4490289,"avatar_url":"https://avatars.githubusercontent.com/u/4490289?v=3","gravatar_id":"","url":"https://api.github.com/users/inakianduaga","html_url":"https://github.com/inakianduaga","followers_url":"https://api.github.com/users/inakianduaga/followers","following_url":"https://api.github.com/users/inakianduaga/following{/other_user}","gists_url":"https://api.github.com/users/inakianduaga/gists{/gist_id}","starred_url":"https://api.github.com/users/inakianduaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inakianduaga/subscriptions","organizations_url":"https://api.github.com/users/inakianduaga/orgs","repos_url":"https://api.github.com/users/inakianduaga/repos","events_url":"https://api.github.com/users/inakianduaga/events{/privacy}","received_events_url":"https://api.github.com/users/inakianduaga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inakianduaga/log-proxy-server/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-09T00:32:33Z","updated_at":"2015-01-28T23:00:43Z","closed_at":"2015-01-28T23:00:43Z","body":"We need a way for a client to set the logging configuration once and that that will be used for all the calls within the session/or that use the given token. Easiest probably would be\r\n\r\n- Client provides logging configuration to server before first time it needs to log something (logging can be behind a promise that sends the configuration and afterwards adds the token to the header or something like that).\r\n\r\nAlternatively:\r\n\r\n- Client appends the configuration in a header on each log call.\r\n\r\nAlternatively:\r\n\r\n- Limited configuration through different endpoints (not good idea)\r\n "}}