{"action":"created","issue":{"url":"https://api.github.com/repos/unbit/uwsgi/issues/911","labels_url":"https://api.github.com/repos/unbit/uwsgi/issues/911/labels{/name}","comments_url":"https://api.github.com/repos/unbit/uwsgi/issues/911/comments","events_url":"https://api.github.com/repos/unbit/uwsgi/issues/911/events","html_url":"https://github.com/unbit/uwsgi/issues/911","id":73563758,"number":911,"title":"Timestamp in log is always Thu Jan  1 01:00:00 1970","user":{"login":"OleLaursen","id":220562,"avatar_url":"https://avatars.githubusercontent.com/u/220562?v=3","gravatar_id":"","url":"https://api.github.com/users/OleLaursen","html_url":"https://github.com/OleLaursen","followers_url":"https://api.github.com/users/OleLaursen/followers","following_url":"https://api.github.com/users/OleLaursen/following{/other_user}","gists_url":"https://api.github.com/users/OleLaursen/gists{/gist_id}","starred_url":"https://api.github.com/users/OleLaursen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OleLaursen/subscriptions","organizations_url":"https://api.github.com/users/OleLaursen/orgs","repos_url":"https://api.github.com/users/OleLaursen/repos","events_url":"https://api.github.com/users/OleLaursen/events{/privacy}","received_events_url":"https://api.github.com/users/OleLaursen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-06T09:00:11Z","updated_at":"2015-05-06T10:08:54Z","closed_at":null,"body":"I get log entries like this (log-date=true in the configuration) for a vassal:\r\n\r\n[pid: 9789|app: 0|req: 82/234] 212.98.71.196 () {40 vars in 885 bytes} [Thu Jan  1 01:00:00 1970] GET /... => generated 229039 bytes in 180 msecs (HTTP/1.1 200) 6 headers in 209 bytes (3 switches on core 5)\r\n[pid: 9789|app: 0|req: 83/235] 212.98.71.196 () {40 vars in 885 bytes} [Thu Jan  1 01:00:00 1970] GET /... => generated 1178484 bytes in 220 msecs (HTTP/1.1 200) 6 headers in 209 bytes (6 switches on core 6)\r\n[pid: 9789|app: 0|req: 84/236] 157.55.39.5 () {40 vars in 578 bytes} [Thu Jan  1 01:00:00 1970] GET ... => generated 11830 bytes in 231 msecs (HTTP/1.1 404) 3 headers in 178 bytes (1 switches on core 2)\r\n\r\nThis is uwsgi 2.0.7 on Debian (kernel is 3.16.0-4-powerpc64) - it's a virtual machine running inside an IBM VIOS (AIX variant) which I suppose is a little bit odd, but everything else works fine, e.g. date returns the correct time, and similarly the nginx log has correct timestamps."},"comment":{"url":"https://api.github.com/repos/unbit/uwsgi/issues/comments/99405881","html_url":"https://github.com/unbit/uwsgi/issues/911#issuecomment-99405881","issue_url":"https://api.github.com/repos/unbit/uwsgi/issues/911","id":99405881,"user":{"login":"OleLaursen","id":220562,"avatar_url":"https://avatars.githubusercontent.com/u/220562?v=3","gravatar_id":"","url":"https://api.github.com/users/OleLaursen","html_url":"https://github.com/OleLaursen","followers_url":"https://api.github.com/users/OleLaursen/followers","following_url":"https://api.github.com/users/OleLaursen/following{/other_user}","gists_url":"https://api.github.com/users/OleLaursen/gists{/gist_id}","starred_url":"https://api.github.com/users/OleLaursen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OleLaursen/subscriptions","organizations_url":"https://api.github.com/users/OleLaursen/orgs","repos_url":"https://api.github.com/users/OleLaursen/repos","events_url":"https://api.github.com/users/OleLaursen/events{/privacy}","received_events_url":"https://api.github.com/users/OleLaursen/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T10:08:54Z","updated_at":"2015-05-06T10:08:54Z","body":"I tried ctime, ltime, epoch and time in one go:\r\n\r\nctime gives Thu Jan  1 01:00:00 1970\r\nltime gives 06/May/2015:12:04:17 +0200\r\nepoch gives 1430906657\r\ntime gives 1430906657\r\n\r\nBy the way, looking at some logs from last year I can see that the timestamps were correct in uwsgi 1.2.3."}}