аналог %time в формате логов

Andrei Nigmatulin anight at monamour.ru
Tue Nov 22 18:48:18 MSK 2005


Добрый вечер, Игорь

Есть ли в nginx аналог %time, но начинающийся с '$' ?

$time_gmt не подходит, поскольку хочется видеть в логах локальное время, а на 
%time ругается -
the parameters in the "%name" form are deprecated, use the "$variable" instead

Если такой переменной нет, может быть можно добавить и назвать что-то вроде 
"$time_local" ?

-- 
Andrei Nigmatulin
GPG PUB KEY 6449830D

No Microsoft products were used in any way
for the creation of this message. If you are
using a Microsoft product to view it, BEWARE!
I'm not responsible for any harm you might
encounter as a result.


More information about the nginx-ru mailing list