Hi,

I think there's a bug in the way .ini files is parsed with regard to
logdate.

If I try to add the line:
    log-date = 1

Then I get loglines that look like this (uses literal 1 instead of
considering the '1' as a true flag):
1 - *** Starting uWSGI 0.9.9.2 (64bit) on [Thu Oct 13 19:03:12 2011] ***

And if I try to add the line:
    log-date = %Y%m%d-%H%M%S

I get log lines that look like this (expands the date format string, but not
as a strftime string):
/tmp/uwsgi-test/- - *** Starting uWSGI 0.9.9.2 (64bit) on [Thu Oct 13
19:03:44 2011] ***

I reckon (a) '1' and 'true' should be special cased to mean 'true flag' and
(b) quoting should be used to protect the strftime string.

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

Reply via email to