{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/3324","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/3324/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/3324/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/3324/events","html_url":"https://github.com/facebook/hhvm/issues/3324","id":39179193,"number":3324,"title":"Access log in fastcgi mode","user":{"login":"craigcarnell","id":1188869,"avatar_url":"https://avatars.githubusercontent.com/u/1188869?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcarnell","html_url":"https://github.com/craigcarnell","followers_url":"https://api.github.com/users/craigcarnell/followers","following_url":"https://api.github.com/users/craigcarnell/following{/other_user}","gists_url":"https://api.github.com/users/craigcarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcarnell/subscriptions","organizations_url":"https://api.github.com/users/craigcarnell/orgs","repos_url":"https://api.github.com/users/craigcarnell/repos","events_url":"https://api.github.com/users/craigcarnell/events{/privacy}","received_events_url":"https://api.github.com/users/craigcarnell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/hhvm/labels/documentation","name":"documentation","color":"adff2f"}],"state":"open","locked":false,"assignee":{"login":"JoelMarcey","id":3757713,"avatar_url":"https://avatars.githubusercontent.com/u/3757713?v=3","gravatar_id":"","url":"https://api.github.com/users/JoelMarcey","html_url":"https://github.com/JoelMarcey","followers_url":"https://api.github.com/users/JoelMarcey/followers","following_url":"https://api.github.com/users/JoelMarcey/following{/other_user}","gists_url":"https://api.github.com/users/JoelMarcey/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelMarcey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelMarcey/subscriptions","organizations_url":"https://api.github.com/users/JoelMarcey/orgs","repos_url":"https://api.github.com/users/JoelMarcey/repos","events_url":"https://api.github.com/users/JoelMarcey/events{/privacy}","received_events_url":"https://api.github.com/users/JoelMarcey/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2014-07-31T09:50:59Z","updated_at":"2016-01-19T11:44:50Z","closed_at":null,"body":"Is this possible? All I see under ini settings are: hhvm.log.access_log_default_format, not where to turn it off/on or set the file location"},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/172826342","html_url":"https://github.com/facebook/hhvm/issues/3324#issuecomment-172826342","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/3324","id":172826342,"user":{"login":"imacki","id":8596683,"avatar_url":"https://avatars.githubusercontent.com/u/8596683?v=3","gravatar_id":"","url":"https://api.github.com/users/imacki","html_url":"https://github.com/imacki","followers_url":"https://api.github.com/users/imacki/followers","following_url":"https://api.github.com/users/imacki/following{/other_user}","gists_url":"https://api.github.com/users/imacki/gists{/gist_id}","starred_url":"https://api.github.com/users/imacki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imacki/subscriptions","organizations_url":"https://api.github.com/users/imacki/orgs","repos_url":"https://api.github.com/users/imacki/repos","events_url":"https://api.github.com/users/imacki/events{/privacy}","received_events_url":"https://api.github.com/users/imacki/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T11:44:50Z","updated_at":"2016-01-19T11:44:50Z","body":"This is still a problem in 3.11 (in Debian Testing).\r\nI had to create a file \"server.hdf\" containing the old-style notation given above by ck-on (3 Aug 2014) using Log { ... }, as well as a server.ini file with all my other proxygen settings, and then run:\r\n   hhvm -c server.ini -c server.hdf -m server\r\nin order to get a properly named and formatted access log file when running in server mode. I tried the documented server.ini directive:\r\n   hhvm.log.access[access.log] = %h %l %u %t ”%r\" %>s %b \r\nbut what I got was a file literally called \"%h %l %u %t \\”%r\\\" %>s %b\" with the correctly formatted lines inside. It seems that proxygen is using the format string as *both* the log filename and the log format, regardless of what filename or path you put in the square brackets.\r\nThis should be a simple problem to fix, I think."}}