fixed: when demonizing there were some logs info put twice in the log file
now we first demonize (fork) and then open the log file added: start adding support for PT::Date we are using instead of tz system structure git-svn-id: svn://ttmath.org/publicrep/winix/trunk@836 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -540,9 +540,9 @@ void App::SetSubdomain()
|
||||
|
||||
void App::LogAccess()
|
||||
{
|
||||
log.PutDate(log1);
|
||||
|
||||
log << cur.request->env_remote_addr << ' '
|
||||
log << log1
|
||||
<< cur.request->start_date << ' '
|
||||
<< cur.request->env_remote_addr << ' '
|
||||
<< cur.request->env_request_method << ' '
|
||||
<< cur.request->env_http_host
|
||||
<< cur.request->env_request_uri << ' '
|
||||
|
Reference in New Issue
Block a user