> 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

Reply via email to