Il giorno 13/ott/2011, alle ore 19:06, Yaniv Aknin ha scritto: > 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
In config files there is a collision between placeholder and strftime-like syntax: log-date = %%Y%%m%%d-%%H%%M%%S is the escaped (correct) string. Very ugly, but placeholder was added after strftime The same problem hit 1/true -- Roberto De Ioris http://unbit.it JID: [email protected] _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
