Howdy All!,

I am using uWSGI 1.9.14 in emperor mode, and I cannot get it to stop logging 
access request and errors, I only want in the logs uWSGI related actions and 
errors.  Am I doing something wrong, or is my config just crazy?

Thanks!
Jason Swindle

::: CONFIGS :::

My upstart script:

description     "uWSGI Emperor"

start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]

respawn

env LOGTO=/var/log/uwsgi.log

exec uwsgi --die-on-term --emperor /etc/uwsgi/vassals/ --logto $LOGTO

My vassel config:

[uwsgi]

## The base directory
chdir               = /var/www/html/..SNIP.._docroot/..SNIP../

## Master
master              = True

## Leave the master running as root (to allows bind on port 80)
master-as-root      = False

## When enabled, only uWSGI internal messages and errors are logged.
disable-loggings    = True

## What UID to use
uid                 = ..SNIP..

## What GID to use
gid                 = ..SNIP..

## minimum number of processes
cheaper             = 1

## Maximum number of processes
processes           = 4

## The socket for WSGI (use the full path to be safe)
socket              = /tmp/..SNIP...sock

## THis socket can be used with uwsgitop or a monitoring agent.
stats               = /tmp/..SNIP...sock

## with appropriate permissions - *may* be needed
chmod-socket        = 600

## Who owns the socket
chown-socket        = ..SNIP..

## the virtualenv
virtualenv          = /var/www/html/..SNIP.._docroot/..SNIP..-python-2.7

## Django's wsgi file
module              = ..SNIP...wsgi:application

## The environment setting
env                 = DJANGO_SETTINGS_MODULE=..SNIP...settings

## clear environment on exit
vacuum              = True

## Graffiti's pid
pidfile             = /run/..SNIP...pid

## Enable threads
enable-threads      = True

## Run each worker in prethreaded mode with the specified number of threads per 
worker.
threads             = 2

## Harakiri in verbose
harakiri-verbose    = True

## Kill hung task after X time
harakiri            = 30

## Run in single interpreter mode
single-interpreter  = True

## Max request before re-cycling a processes
max-requests        = 300

## Set the maximum time (in seconds) a worker can take to reload/shutdown.
reload-mercy        = 2
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to