comparison src/core/ngx_log.c @ 440:f390d1775430

nginx-0.1.0-2004-09-27-20:03:21 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Sep 2004 16:03:21 +0000
parents 0526206251f6
children da8c5707af39
comparison
equal deleted inserted replaced
439:4fe393d82f44 440:f390d1775430
373 cf->cycle->new_log->file->name.len = 0; 373 cf->cycle->new_log->file->name.len = 0;
374 cf->cycle->new_log->file->name.data = NULL; 374 cf->cycle->new_log->file->name.data = NULL;
375 375
376 } else { 376 } else {
377 cf->cycle->new_log->file->name = value[1]; 377 cf->cycle->new_log->file->name = value[1];
378
379 if (ngx_conf_full_name(cf->cycle, &cf->cycle->new_log->file->name)
380 == NGX_ERROR)
381 {
382 return NGX_CONF_ERROR;
383 }
378 } 384 }
379 385
380 return ngx_set_error_log_levels(cf, cf->cycle->new_log); 386 return ngx_set_error_log_levels(cf, cf->cycle->new_log);
381 } 387 }