Il giorno 01/mar/2011, alle ore 15.11, [email protected] ha scritto:

> ----- Oryginalna wiadomość -----
>> Od: "Roberto De Ioris" <[email protected]>
>> Do: [email protected]
>> Wysłane: wtorek, 1 marzec 2011 11:21:50
>> Temat: [uWSGI] [ANNOUNCE] uWSGI 0.9.7-beta1
>> 
>> Hi all, i am pleased to announce the first beta release of uWSGI
>> 0.9.7
>> 
> 
> How does the dates formatting works in 0.9.7-beta1 (logdate=) ?
> 
> I have something like this (.ini):
> 
> [uwsgi]
> http=:5000
> master=1
> processes=2
> single-interpreter=1
> module=start
> logdate=%Y-%d-%m %H:%M:%S
> vacuum=1
> harakiri=3
> 
> And I get strange logs:
> ...
> -/path/../test/- :: - spawned uWSGI worker 1 (pid: 7716, cores: 1)
> -/path/../test/- :: - spawned uWSGI worker 2 (pid: 7717, cores: 1)
> 
> 
> 

New config files allows special vars for emperor mode (or more advanced 
configurations).

You have to add a second % (escaping) before every strftime var

logdate=%%Y-%%d-%%m %%H:%%M:%%S

--
Roberto De Ioris
http://unbit.it

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

Reply via email to