Comments (3)
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.
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.
@Gromph Happy to know you solved the problem, thanks for using uwsgi-sloth.
😄
from uwsgi-sloth.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uwsgi-sloth.