{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1039","repository_url":"https://api.github.com/repos/aspnet/IISIntegration","labels_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1039/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1039/comments","events_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1039/events","html_url":"https://github.com/aspnet/IISIntegration/issues/1039","id":340442957,"node_id":"MDU6SXNzdWUzNDA0NDI5NTc=","number":1039,"title":"Verify logging and stdout/stderr scenarios in IIS/IISExpress","user":{"login":"jkotalik","id":8302101,"node_id":"MDQ6VXNlcjgzMDIxMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/8302101?v=4","gravatar_id":"","url":"https://api.github.com/users/jkotalik","html_url":"https://github.com/jkotalik","followers_url":"https://api.github.com/users/jkotalik/followers","following_url":"https://api.github.com/users/jkotalik/following{/other_user}","gists_url":"https://api.github.com/users/jkotalik/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotalik/subscriptions","organizations_url":"https://api.github.com/users/jkotalik/orgs","repos_url":"https://api.github.com/users/jkotalik/repos","events_url":"https://api.github.com/users/jkotalik/events{/privacy}","received_events_url":"https://api.github.com/users/jkotalik/received_events","type":"User","site_admin":false},"labels":[{"id":835634950,"node_id":"MDU6TGFiZWw4MzU2MzQ5NTA=","url":"https://api.github.com/repos/aspnet/IISIntegration/labels/diagnostics","name":"diagnostics","color":"a004dd","default":false}],"state":"closed","locked":false,"assignee":{"login":"shirhatti","id":4734691,"node_id":"MDQ6VXNlcjQ3MzQ2OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4734691?v=4","gravatar_id":"","url":"https://api.github.com/users/shirhatti","html_url":"https://github.com/shirhatti","followers_url":"https://api.github.com/users/shirhatti/followers","following_url":"https://api.github.com/users/shirhatti/following{/other_user}","gists_url":"https://api.github.com/users/shirhatti/gists{/gist_id}","starred_url":"https://api.github.com/users/shirhatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shirhatti/subscriptions","organizations_url":"https://api.github.com/users/shirhatti/orgs","repos_url":"https://api.github.com/users/shirhatti/repos","events_url":"https://api.github.com/users/shirhatti/events{/privacy}","received_events_url":"https://api.github.com/users/shirhatti/received_events","type":"User","site_admin":false},"assignees":[{"login":"shirhatti","id":4734691,"node_id":"MDQ6VXNlcjQ3MzQ2OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4734691?v=4","gravatar_id":"","url":"https://api.github.com/users/shirhatti","html_url":"https://github.com/shirhatti","followers_url":"https://api.github.com/users/shirhatti/followers","following_url":"https://api.github.com/users/shirhatti/following{/other_user}","gists_url":"https://api.github.com/users/shirhatti/gists{/gist_id}","starred_url":"https://api.github.com/users/shirhatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shirhatti/subscriptions","organizations_url":"https://api.github.com/users/shirhatti/orgs","repos_url":"https://api.github.com/users/shirhatti/repos","events_url":"https://api.github.com/users/shirhatti/events{/privacy}","received_events_url":"https://api.github.com/users/shirhatti/received_events","type":"User","site_admin":false},{"login":"jkotalik","id":8302101,"node_id":"MDQ6VXNlcjgzMDIxMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/8302101?v=4","gravatar_id":"","url":"https://api.github.com/users/jkotalik","html_url":"https://github.com/jkotalik","followers_url":"https://api.github.com/users/jkotalik/followers","following_url":"https://api.github.com/users/jkotalik/following{/other_user}","gists_url":"https://api.github.com/users/jkotalik/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotalik/subscriptions","organizations_url":"https://api.github.com/users/jkotalik/orgs","repos_url":"https://api.github.com/users/jkotalik/repos","events_url":"https://api.github.com/users/jkotalik/events{/privacy}","received_events_url":"https://api.github.com/users/jkotalik/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aspnet/IISIntegration/milestones/23","html_url":"https://github.com/aspnet/IISIntegration/milestone/23","labels_url":"https://api.github.com/repos/aspnet/IISIntegration/milestones/23/labels","id":3607768,"node_id":"MDk6TWlsZXN0b25lMzYwNzc2OA==","number":23,"title":"2.2.0-preview3","description":null,"creator":{"login":"muratg","id":1808428,"node_id":"MDQ6VXNlcjE4MDg0Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/1808428?v=4","gravatar_id":"","url":"https://api.github.com/users/muratg","html_url":"https://github.com/muratg","followers_url":"https://api.github.com/users/muratg/followers","following_url":"https://api.github.com/users/muratg/following{/other_user}","gists_url":"https://api.github.com/users/muratg/gists{/gist_id}","starred_url":"https://api.github.com/users/muratg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratg/subscriptions","organizations_url":"https://api.github.com/users/muratg/orgs","repos_url":"https://api.github.com/users/muratg/repos","events_url":"https://api.github.com/users/muratg/events{/privacy}","received_events_url":"https://api.github.com/users/muratg/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":20,"state":"open","created_at":"2018-08-29T18:12:21Z","updated_at":"2018-09-27T18:52:29Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-07-11T23:46:38Z","updated_at":"2018-09-27T18:52:28Z","closed_at":"2018-09-27T18:52:28Z","author_association":"CONTRIBUTOR","body":"This has bitten us a few times already. Diagnosing startup errors one of the main issues people run into using ANCM. Here is a list of all scenarios covered by redirecting stdout and stderr to logs and event logs.\r\n\r\n### Logging to file\r\n- Redirection starts once inprocess application begins. \r\n- Redirection ends once inprocess application ends.\r\n- Will be logged to the file specified in web.config `stdoutLogFile`\r\n- Redirects both stdout and stderr\r\n- Primarily used for debugging applications\r\n\r\nScenarios to test:\r\n- Run app specifying folder path, verify app output is stored in log file \r\n- Run app specifying folder path with invalid permissions, verify app output isn't written but app doesn't fail to start.\r\n\r\n### Logging to pipe\r\n- Redirection starts once inprocess application begins. \r\n- Redirection ends once inprocess application startup is complete.\r\n- Added when `stdoutLogging=false` and there isn't an active console (for iis express scenarios)\r\n- Creates an anonymous pipe to redirect console output to a local buffer, capturing startup exceptions and failures.\r\n- Only captures first 4KB of output from managed\r\n- After redirection, all output captured in the buffer is then logged to the original stdout source.\r\n- Only IISExpress will have stdout/stderr before redirection, IIS doesn't set stdout and stderr on w3wp.exe\r\n\r\n### Debug log file for ANCM\r\n- Logs captured for ANCM shim and request handler\r\n- Used by IIS and IISExpress for debugging ANCM issues.\r\n- Enabled in either the web.config or environment variable (preferring web.config)\r\n\r\nScenarios to test:\r\n- Debug logs present after enabling either source"},"comment":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/comments/425203787","html_url":"https://github.com/aspnet/IISIntegration/issues/1039#issuecomment-425203787","issue_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/1039","id":425203787,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTIwMzc4Nw==","user":{"login":"jkotalik","id":8302101,"node_id":"MDQ6VXNlcjgzMDIxMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/8302101?v=4","gravatar_id":"","url":"https://api.github.com/users/jkotalik","html_url":"https://github.com/jkotalik","followers_url":"https://api.github.com/users/jkotalik/followers","following_url":"https://api.github.com/users/jkotalik/following{/other_user}","gists_url":"https://api.github.com/users/jkotalik/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotalik/subscriptions","organizations_url":"https://api.github.com/users/jkotalik/orgs","repos_url":"https://api.github.com/users/jkotalik/repos","events_url":"https://api.github.com/users/jkotalik/events{/privacy}","received_events_url":"https://api.github.com/users/jkotalik/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T18:52:28Z","updated_at":"2018-09-27T18:52:28Z","author_association":"CONTRIBUTOR","body":"Closing in favor of https://github.com/aspnet/IISIntegration/issues/1448"}}
{"actor":{"display_login":"jkotalik"}}