On Thu, Apr 23, 2015 at 2:44 PM, Andrew Farrell <[email protected]> wrote: > Hi Larry, > > What does > cd /etc/nginx && ag log > Give you?
Not familar with the ag command, and it's not on my system. Googling it, it seems to be some sort of grep like tool. Grepping for log in that dir shows this: nginx.conf: access_log /var/log/nginx/access.log; nginx.conf: error_log /var/log/nginx/error.log; And as I said before, the error log is always empty: $ ls -l /var/log/nginx/error.log -rw-r----- 1 www-data adm 0 Apr 19 06:48 /var/log/nginx/error.log > > On Thu, Apr 23, 2015 at 1:05 PM, Larry Martell <[email protected]> > wrote: >> >> This is not really a django question, but I think these are issues >> folks here have faced, so I hope someone can help me. >> >> Prior to now, all the django projects I've worked on have used apache >> and WSGI. With those, when an error occurred I went to >> /var/log/httpd/error_log and details of the error were clearly there. >> >> Now for the first time I am working on a project using nginx and >> uWSGI. Here, the /var/log/nginx/error_log is always empty. And the >> uWSGI logs have some messages, but nothing about any errors. In this >> setup where would I go to find the errors that >> /var/log/httpd/error_log logs? Is there some config setting that is >> suppressing the nginx errors? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/django-users. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CACwCsY5aoz8ZS7dJR%2BUh%3DSPs9mNp%2BCsiVJv7VE5y3EO6JMQD1g%40mail.gmail.com. >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CA%2By5TLZ-U3HwrKd4U-z-b8O%3DXW2mbfkZkhq1uDJah1gHb3LiEA%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY7kRK_kj3d6xt3dAXQJMy4yowgX_NHyV%3DOQMBubDfRUNg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

