From eadf8bcbcad4a728a65e577972e9897517fb816e Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Thu, 20 Oct 2016 11:24:16 +0800 Subject: [PATCH] Update uwsgi log file locations. --- en_US/faq/file.locations.md | 11 ++++++++--- html/file.locations.html | 14 +++++++++++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/en_US/faq/file.locations.md b/en_US/faq/file.locations.md index d319186c..0afb796f 100644 --- a/en_US/faq/file.locations.md +++ b/en_US/faq/file.locations.md @@ -294,9 +294,14 @@ Main config file: * on OpenBSD, it's `/var/www/iredadmin/settings.py`. iRedAdmin is a web application, when debug mode is turned on, it will log error -message to [Apache ssl error log file](#apache), or uwsgi log file (if you're running -Nginx). uwsgi log file is under `/var/log/uwsgi/` on Linux/FreeBSD, and -`/var/www/logs/` on OpenBSD. +message to: + +* If you're running Apache, it logs to [Apache ssl error log file](#apache). +* If you're running Nginx with uwsgi: + * on Debian/Ubuntu, it logs to `/var/log/uwsgi/app/iredadmin.log`. + * on RHEL/CentOS, it logs to `/var/log/messages`. + * on OpenBSD, it logs to `/var/www/logs/uwsgi.log`. + * on FreeBSD, it logs to `/var/log/uwsgi-iredadmin.log`. Note: If you modified any iRedAdmin files (not just config file), please restart Apache or uwsgi service (if you're running Nginx) to reload modified files. diff --git a/html/file.locations.html b/html/file.locations.html index a36861be..3b979d6e 100644 --- a/html/file.locations.html +++ b/html/file.locations.html @@ -361,9 +361,17 @@ your custom settings.

  • on OpenBSD, it's /var/www/iredadmin/settings.py.
  • iRedAdmin is a web application, when debug mode is turned on, it will log error -message to Apache ssl error log file, or uwsgi log file (if you're running -Nginx). uwsgi log file is under /var/log/uwsgi/ on Linux/FreeBSD, and -/var/www/logs/ on OpenBSD.

    +message to:

    +

    Note: If you modified any iRedAdmin files (not just config file), please restart Apache or uwsgi service (if you're running Nginx) to reload modified files.

    Cluebringer