Alternatively if I cant build msgpack with how I install with pip then I
tried the below:
sudo /usr/local/bin/uwsgi --pidfile /var/run/api.pid --loop gevent
--socket 127.0.0.1:8030 --pythonpath /home/ubuntu/workspace/augno-api/app
--pythonpath /home/ubuntu/workspace/augno-api --processes 1 --file
/home/ubuntu/workspace/augno-api/wsgi.py --callable app -b 1024 --master
--gevent 10 --enable-threads --listen 10 --touch-reload
/home/ubuntu/workspace/augno-api/app/views.py --logger socket:127.0.0.1:1717
--log-encoder 'json {"unix":${unix}, "msg":"${msg}",
"date":"${strftime:%%d/%%m/%%Y %%H:%%M:%%S}"}'
If I run the above..uwsgi does not run and prints the below
[log-encoder] registered json {"unix":${unix}, "msg":"${msg}",
"date":"${strftime:%%d/%%m/%%Y %%H:%%M:%%S}"}
On Mon, Jun 2, 2014 at 12:17 PM, David Montgomery <[email protected]
> wrote:
> How do I do that? This is how I install pip install uwsgi==2.0.1
>
>
> On Mon, Jun 2, 2014 at 12:06 PM, Roberto De Ioris <[email protected]>
> wrote:
>
>>
>> > sudo /usr/local/bin/uwsgi --pidfile /var/run/api.pid --loop gevent
>> > --socket 127.0.0.1:8030 --pythonpath
>> /home/ubuntu/workspace/test-api/app
>> > --pythonpath /home/ubuntu/workspace/augno-api --processes 1 --file
>> > /home/ubuntu/workspace/test-api/wsgi.py --callable app -b 1024 --master
>> > --gevent 10 --enable-threads --listen 10 --touch-reload
>> > /home/ubuntu/workspace/test-api/app/views.py --logger
>> > socket:127.0.0.1:1717
>> > --log-encoder "msgpack
>> >
>> map:4|str:message|msg|str:hostname|str:%h|str:version|str:%V|str:appname|str:myapp"
>> >
>> > log encoder "msgpack" not found
>> >
>> >
>> >
>> > I get the above error despite having msgpack installed. I put all in
>> > quotes.
>> >
>>
>> The msgpack plugin is not built-in by default. You have to build it has a
>> plugin, or tell the compiler to include it in the binary
>>
>>
>> --
>> 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