> That fixed the logging!  Silly human error I wasted so much time on :)
>
> Question: I have master-as-root = False
>
> to make sure it is not root.  Is this not correct?  NGINX above
> uWSGI will be binding to 80 / 443.  Maybe I am confused or do I not even
> need this line?  Or do I need to turn master to False?
>
> Thank you for your help! :)

you do not need it, nginx is the process requiring privileged access for
bindign to port 80. uWSGI (in your setup) does not need it

>
> -Jason
>
> On 8/23/13 12:24 PM, "Jason Swindle" <[email protected]> wrote:
>
>>Howdy,
>>
>>Great point, I have flipped that to False and testing out the typo fix
>>now.  WhoopiesÅ I will report back shortly if that fixed it. :)
>>
>>Thank you!
>>-Jason
>>
>>On 8/23/13 12:18 PM, "Roberto De Ioris" <[email protected]> wrote:
>>
>>>
>>>> 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
>>>
>>>
>>>its disable-logging (singular)
>>>
>>>Just for curiousity, why master-as-root if you are binding to a unix
>>>socket ?
>>>
>>>
>>>--
>>>Roberto De Ioris
>>>http://unbit.it
>>>_______________________________________________
>>>uWSGI mailing list
>>>[email protected]
>>>http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>>
>>_______________________________________________
>>uWSGI mailing list
>>[email protected]
>>http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to