{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/179","labels_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/179/comments","events_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/179/events","html_url":"https://github.com/NVIDIA/DIGITS/issues/179","id":97148469,"number":179,"title":"Configuration errors not saved in log","user":{"login":"lukeyeager","id":687269,"avatar_url":"https://avatars.githubusercontent.com/u/687269?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeyeager","html_url":"https://github.com/lukeyeager","followers_url":"https://api.github.com/users/lukeyeager/followers","following_url":"https://api.github.com/users/lukeyeager/following{/other_user}","gists_url":"https://api.github.com/users/lukeyeager/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeyeager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeyeager/subscriptions","organizations_url":"https://api.github.com/users/lukeyeager/orgs","repos_url":"https://api.github.com/users/lukeyeager/repos","events_url":"https://api.github.com/users/lukeyeager/events{/privacy}","received_events_url":"https://api.github.com/users/lukeyeager/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NVIDIA/DIGITS/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T21:13:49Z","updated_at":"2015-12-02T00:38:10Z","closed_at":"2015-12-02T00:38:10Z","body":"When running DIGITS as a service, the server fails silently on an invalid configuration file. Nothing is printed in the log, so the user doesn't know what went wrong.\r\n\r\nThe trick is, we load the logfile location from the config file. So, we need to:\r\n\r\n1. Read the config file[s] for a logfile location\r\n2. Set the logfile\r\n3. Check the other configuration options\r\n4. If something is invalid:\r\n  1. If running `digits-devserver`, prompt the user for a valid value\r\n  2. If running `digits-server`, log the error before killing the script"},"comment":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/comments/161142007","html_url":"https://github.com/NVIDIA/DIGITS/issues/179#issuecomment-161142007","issue_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/179","id":161142007,"user":{"login":"lukeyeager","id":687269,"avatar_url":"https://avatars.githubusercontent.com/u/687269?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeyeager","html_url":"https://github.com/lukeyeager","followers_url":"https://api.github.com/users/lukeyeager/followers","following_url":"https://api.github.com/users/lukeyeager/following{/other_user}","gists_url":"https://api.github.com/users/lukeyeager/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeyeager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeyeager/subscriptions","organizations_url":"https://api.github.com/users/lukeyeager/orgs","repos_url":"https://api.github.com/users/lukeyeager/repos","events_url":"https://api.github.com/users/lukeyeager/events{/privacy}","received_events_url":"https://api.github.com/users/lukeyeager/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T00:38:10Z","updated_at":"2015-12-02T00:38:10Z","body":"Fixed in deb packaging by piping stderr to the log."}}