Open harmv opened 5 years ago
Note workaround as mentioned in #9 does work, if I set export TZ=Europe/Amsterdam before running uwsgi-sloth start, then I do get output in latest_5mins.html.
But then the rendered html files show incorrect (utc) timstamps. I'd expect the html to render in the timezone as the users runs in.
My uwsgi logging is in utc, the users typically have timezone 'Europe/Amsterdam'.
running uwsgi-sloth start gives:
As the uwsgi logging timestamps are in UTC (eg: "Thu Feb 28 10:40:00 2019") uwsgi-sloth does do the lookup for the last 5 minutes correctly.
Result
latest_5mins.html is always empty ( Slow / Total requests == 0 / 0 )
Expeced Result
latest_5mins.html shows the last 5 minutes.
html output should use the timezone of the user. The parsing of the uwsgi logging should be able to deal with the timezone difference between report and uwsgi logging.