added: to config: log_time_zone_id (size_t) identifier

this is the time zone identifier used in log messages



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@882 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-09-06 17:50:14 +00:00
parent 0c6ddc2218
commit 9174555ff8
8 changed files with 77 additions and 7 deletions

View File

@@ -652,8 +652,10 @@ void App::SetSubdomain()
void App::LogAccess()
{
log << log1
<< cur.request->start_date << ' '
log << log1;
log.PrintDate(cur.request->start_date, config.log_time_zone_id);
log << ' '
<< cur.request->env_remote_addr << ' '
<< cur.request->env_request_method << ' '
<< cur.request->env_http_host