>> > From: C Anthony Risinger <[email protected]>
>>
>> >
>> > while im unsure the "correctness" of your setup, have you tried
>> > `--log-master`, `--threaded-logger` (IIRC the latter implies former),
>> > and related `--log-*` options? we use a setup resembling this:
>> >
>> >
>>
>>
>
>> > From: Roberto De Ioris <[email protected]>
>> > Yes, you should not do that as you are generating doubled logs.
>
> Thanks both! That sounds good. But a couple of questions:
>
> 1. "as you are generating doubled logs" -- hm? How do you mean doubled? I
> have not been getting duplicate log messages.


i think i was faked by the first email where log lines looked doubled,
re-reading the post it does not make any sense :P

>
> 2. when I try this on Mac OS X 10.8.2, I get errors like this for log
> messages 2kb and bigger:
>
> Traceback (most recent call last):
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py",
> line 797, in emit
>     stream.write(fs % msg)
> IOError: [Errno 40] Message too long



This is from the python logging module, not from uWSGI


>
>
> even when the log message is just 5354 bytes and I run with
> --log-master-bufsize 1048576.

you are tuning uWSGI buffers, but the problem here is python logging, and
honestly it is the first time i see that error :)

Maybe someone else has an idea...

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

Reply via email to