> Hello,
> We are trying to build a feature that accepts numerous GET requests and
> logs them in a specific format for further processing. But I have very
> limited understanding of NGINX/UWSGI and any help in this regard will be
> greatly appreciated.
>
> In the first layer we use NGINX that uses the Empty_GIF
> module<http://wiki.nginx.org/HttpEmptyGifModule>and forwards the
> request to UWSGI using
>
> *include uwsgi_params;*
> *uwsgi_pass 127.0.0.1:9090;*
>
> Now I am trying to integrate
> ZeroMQ<http://projects.unbit.it/uwsgi/wiki/ZeroMQLogging>with UWSGI.
> Here I am trying two approaches
>
> 1.* ./uwsgi --socket :9090 --logger zeromq:tcp:127.0.0.1:9091* but this
> gives the error
> zmq_connect(): Invalid argument [core/logging.c line 188]
> zmq_connect(): Invalid argument [core/logging.c line 188]


the zeromq syntax is proto://address so


--logger zeromq:tcp://127.0.0.1:9091

is what you need

I am not sure to understand your need, but if you need special log
formatting check

https://uwsgi-docs.readthedocs.org/en/latest/LogFormat.html

and remember you can define logvars via the internal routing subsystem

https://uwsgi-docs.readthedocs.org/en/latest/InternalRouting.html




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

Reply via email to