> On 07/13/2012 09:41 PM, Roberto De Ioris wrote:
>>> I think this is getting old....
>>>
>>> Please, how do I run a Pyramid 1.3 app, full with logging as specified
>>> in the .ini file, under uWSGI.
>>>
>> uwsgi --http :8080 --ini-paste-logged deployement.ini
>>
>> (substitute deployment.ini with your config file).
>>
>> You have to use at least uWSGI 1.2
>>
>>
>
> I must admit I didn't try directly from command line, but I use uwsgi
> config INI because of vassals and several sites run under same uwsgi
> server, so I like to drop them in /etc/uwsgi.d/ which I configured in my
> custom sysvinit script.
>
> So this is my config INI (not the paste INI):
>
> [uwsgi]
> master = true
> processes = 1
> enable-threads = true
> single-interpreter = true
> threads = 2
> uid = siteuser
> gid = siteuser
> paste = config:/home/siteuser/Sitename/production.ini
> chdir = /home/siteuser
> virtualenv = /home/siteuser/Sitename/virtualenv
> socket = /tmp/uwsgi/uwsgi-sitename.socket


ini-paste-logged does not work in 'vassal' mode.

Use --paste-logger

paste = config:/home/siteuser/Sitename/production.ini
paste-logger = /home/siteuser/Sitename/production.ini

or better:

mypaste = /home/siteuser/Sitename/production.ini
paste = config:%(mypaste)
paste-logger = %(mypaste)



-- 
Roberto De Ioris
http://unbit.it

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to