{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/staticfile-buildpack/issues/44","labels_url":"https://api.github.com/repos/cloudfoundry/staticfile-buildpack/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/staticfile-buildpack/issues/44/comments","events_url":"https://api.github.com/repos/cloudfoundry/staticfile-buildpack/issues/44/events","html_url":"https://github.com/cloudfoundry/staticfile-buildpack/issues/44","id":98932773,"number":44,"title":"Read logs form nginx","user":{"login":"jabrena","id":147263,"avatar_url":"https://avatars.githubusercontent.com/u/147263?v=3","gravatar_id":"","url":"https://api.github.com/users/jabrena","html_url":"https://github.com/jabrena","followers_url":"https://api.github.com/users/jabrena/followers","following_url":"https://api.github.com/users/jabrena/following{/other_user}","gists_url":"https://api.github.com/users/jabrena/gists{/gist_id}","starred_url":"https://api.github.com/users/jabrena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jabrena/subscriptions","organizations_url":"https://api.github.com/users/jabrena/orgs","repos_url":"https://api.github.com/users/jabrena/repos","events_url":"https://api.github.com/users/jabrena/events{/privacy}","received_events_url":"https://api.github.com/users/jabrena/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-04T09:56:13Z","updated_at":"2015-08-04T09:56:16Z","closed_at":null,"body":"Hi, \r\n\r\nI have just deployed an static application, but I think that exist some kind of problem and I would like to read the logs from the nginx to understand the source of the problem?\r\n\r\nPaths:\r\n\r\n``` shell\r\n\r\n/home/vcap/app/nginx/logs/access.log\r\n/home/vcap/app/nginx/logs/error.log \r\n\r\n``` \r\n\r\nShell output:\r\n\r\n``` shell\r\n\r\ncf logs  StaticWebsiteHelloWorld --recent\r\nConnected, dumping recent logs for app StaticWebsiteHelloWorld in org DevBox / s\r\npace dev as admin...\r\n\r\n2015-08-04T11:44:04.21+0200 [API/0]      OUT Created app with guid f8735892-991d-4b3f-ac71-20fa22887252\r\n2015-08-04T11:44:07.55+0200 [API/0]      OUT Updated app with guid f8735892-991d-4b3f-ac71-20fa22887252 ({\"route\"=>\"96995468-8b8a-4319-944e-961d82138226\"})\r\n2015-08-04T11:44:11.43+0200 [DEA/0]      OUT Got staging request for app with id\r\n f8735892-991d-4b3f-ac71-20fa22887252\r\n2015-08-04T11:44:12.35+0200 [API/0]      OUT Updated app with guid f8735892-991d-4b3f-ac71-20fa22887252 ({\"state\"=>\"STARTED\"})\r\n2015-08-04T11:44:12.40+0200 [STG/0]      OUT -----> Downloaded app package (4.0K)\r\n2015-08-04T11:44:12.47+0200 [STG/0]      ERR     Cloning into '/tmp/buildpacks/staticfile-buildpack'...\r\n2015-08-04T11:44:13.78+0200 [STG/0]      OUT     Submodule 'compile-extensions'\r\n(https://github.com/cloudfoundry-incubator/compile-extensions.git) registered for path 'compile-extensions'\r\n2015-08-04T11:44:13.80+0200 [STG/0]      ERR Cloning into 'compile-extensions'...\r\n2015-08-04T11:44:15.10+0200 [STG/0]      OUT Submodule path 'compile-extensions': checked out 'ce9345a9a6e7b00266194cadd18dbef37e791a7b'\r\n2015-08-04T11:44:15.14+0200 [STG/0]      OUT -------> Buildpack version 1.2.1\r\n2015-08-04T11:44:17.07+0200 [STG/0]      ERR grep: Staticfile: No such file or directory\r\n2015-08-04T11:44:17.07+0200 [STG/0]      OUT -----> Using root folder\r\n2015-08-04T11:44:17.07+0200 [STG/0]      OUT -----> Copying project files into public/\r\n2015-08-04T11:44:17.11+0200 [STG/0]      OUT -----> Setting up nginx\r\n2015-08-04T11:44:17.17+0200 [STG/0]      ERR grep: Staticfile: No such file or directory\r\n2015-08-04T11:44:17.75+0200 [STG/0]      OUT -----> Uploading droplet (2.5M)\r\n2015-08-04T11:44:20.15+0200 [DEA/0]      OUT Starting app instance (index 0) with guid f8735892-991d-4b3f-ac71-20fa22887252\r\n2015-08-04T11:44:21.19+0200 [App/0]      OUT     ==> /home/vcap/app/nginx/logs/access.log <==\r\n2015-08-04T11:44:21.19+0200 [App/0]      OUT ==> /home/vcap/app/nginx/logs/error.log <==\r\n\r\n```\r\n\r\nMany thanks in advance.\r\n\r\nJuan Antonio\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/staticfile-buildpack/issues/comments/127551660","html_url":"https://github.com/cloudfoundry/staticfile-buildpack/issues/44#issuecomment-127551660","issue_url":"https://api.github.com/repos/cloudfoundry/staticfile-buildpack/issues/44","id":127551660,"user":{"login":"cf-gitbot","id":5589368,"avatar_url":"https://avatars.githubusercontent.com/u/5589368?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-gitbot","html_url":"https://github.com/cf-gitbot","followers_url":"https://api.github.com/users/cf-gitbot/followers","following_url":"https://api.github.com/users/cf-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/cf-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-gitbot/subscriptions","organizations_url":"https://api.github.com/users/cf-gitbot/orgs","repos_url":"https://api.github.com/users/cf-gitbot/repos","events_url":"https://api.github.com/users/cf-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-gitbot/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T09:56:16Z","updated_at":"2015-08-04T09:56:16Z","body":"We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/100499736."}}