在哪里可以找到nginx的错误日志,使用fastcgi和django [英] Where can I find the error logs of nginx, using fastcgi and django

查看:247
本文介绍了在哪里可以找到nginx的错误日志,使用fastcgi和django的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用django与fastcgi + nginx。我想知道在这种情况下存储日志(错误)的位置

解决方案

错误存储在nginx日志文件中。您可以在nginx配置文件的根目录中指定。

  error_log /var/log/nginx/nginx_error.log warn; 


I'm using django with fastcgi + nginx. I want to know where the logs (error) are stored in this case

解决方案

errors are stored in nginx log file. you can specify it in root of nginx config file.

error_log  /var/log/nginx/nginx_error.log  warn;

这篇关于在哪里可以找到nginx的错误日志,使用fastcgi和django的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆