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. Thanks On Mon, Jun 2, 2014 at 12:55 AM, Roberto De Ioris <[email protected]> wrote: > > > 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 > > > > How would and add the above to the command line rather than wit yaml? > > > > Would it be? > > --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 > > > you need to quote the whole log-encoder option: > > --log-encoder "msgpack > > map:4|str:message|msg|str:hostname|str:%h|str:version|str:%V|str:appname|str:myapp" > > > > -- > 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
