> Awesome!  That worked, you may want to put that into the docs. :)    BTW,
> uWSGI is very noisy on Kibana / Logstash so it is my next goal to clean
> that up.

you may want to check --log-drain and --log-filter (use --help)

and (more advanced):

http://uwsgi-docs.readthedocs.org/en/latest/Logging.html#log-routing

take in account you should always enable --threaded-logger when you start
applying regexps (that could be relatively heavy) to loglines (this avoid
wasting master resources)

>
> On 9/16/13 11:13 AM, "Roberto De Ioris" <[email protected]> wrote:
>
>>
>>> I guess so :) but now I am getting
>>>
>>>
>>>
>>> [uWSGI] getting YAML configuration from --snip--.yaml
>>> log encoder "msgpack" not found
>>> unlink(): No such file or directory [core/uwsgi.c line 1495]
>>> [emperor] removed uwsgi instance --snip--.yaml
>>>
>>> Did msgpack got get compiled into 1.9.16 when installing from PIP?
>>>
>>> -Jason Swindle :)
>>
>>
>>No, you have to do
>>
>>UWSGI_EMBED_PLUGINS=msgpack pip install uwsgi
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 9/16/13 11:02 AM, "Roberto De Ioris" <[email protected]> wrote:
>>>
>>>>
>>>>> Howdy,
>>>>>
>>>>> Trying to use the new log-format with msgpack and log stash is not
>>>>>liking
>>>>> it.  What am I doing wrong?
>>>>>
>>>>>
>>>>> ## uWSGI Version
>>>>> # uwsgi --version
>>>>>> 1.9.16
>>>>>
>>>>> ## uWSGI Config (in Yaml)
>>>>>   logger: socket:localhost:1717
>>>>>   log-format: msgpack
>>>>> map:3|str:message|msg|str:hostname|str:%h|str:version|str:%V
>>>>
>>>>
>>>>log-encoder not log-format :)
>>>>
>>>>(i have found an error in the msgpack docs, maybe you have been fooled
>>>>by
>>>>it)
>>>>
>>>>--
>>>>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
>>>
>>
>>
>>--
>>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
>


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

Reply via email to