Hi,

I have a python module running behind the uwsgi process launched as below.
I have a python logger being initialized inside the json_rpc.py file.

uwsgi -M --processes 1 --threads 2 -s /tmp/uwsgi.sock
--wsgi-file=/proj/req_proc.py --daemonize /dev/null


The issue is whenever the uwsgi process is started for the first time, the
logger time format is not taking effect as per the log configuration.
However, on the second attempt, when I restart the uwsgi process (after
doing a kill -9 on uwsgi), the logger time format comes out correct.

I am not able to understand why this is happening and if there is anything
wring between python logger and uwsgi framework. Can someone please comment
on this?

I posted similar question to stackoverflow and got a comment indicating
something wrong between the two.
http://stackoverflow.com/questions/34053273/python-logger-not-picking-up-the-configure-time-format

Thanks,
/anil.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to