Giter Club home page Giter Club logo

Comments (3)

Gromph avatar Gromph commented on July 19, 2024

I believe it might be a timezone problem. I just noticed the time in the logs is in my local timezone PST. But the server is set to utc:
[www@ www]$ tail -1 /var/www/logs/uwsgi.log
[pid: 30643|app: 0|req: 1250/2584] 10.10.0.1 () {48 vars in 1067 bytes} [Thu Aug 25 12:14:38 2016] GET /api/accounts/415/ => generated 2382 bytes in 33 msecs (HTTP/1.1 200) 4 headers in 129 bytes (1 switches on core 0)

[www@ www]$ date
Thu Aug 25 19:14:40 UTC 2016

So the problem is most likely with uwsgi logging time in PST instead of UTC.

from uwsgi-sloth.

Gromph avatar Gromph commented on July 19, 2024

I got it working by setting the timezone before running uwsgi-sloth:
export TZ=America/Los_Angeles
uwsgi-sloth start -c /var/www/uwsgi_sloth/tourneyking.conf

from uwsgi-sloth.

piglei avatar piglei commented on July 19, 2024

@Gromph Happy to know you solved the problem, thanks for using uwsgi-sloth.
😄

from uwsgi-sloth.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.