comparison src/core/ngx_log.c @ 227:2ba3477070ac

nginx-0.0.1-2004-01-14-21:19:42 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 14 Jan 2004 18:19:42 +0000
parents 05592fd7a436
children 03c54b6d7a6f
comparison
equal deleted inserted replaced
226:b0c1e21e68db 227:2ba3477070ac
274 } 274 }
275 275
276 ngx_test_null(log, ngx_pcalloc(cycle->pool, sizeof(ngx_log_t)), NULL); 276 ngx_test_null(log, ngx_pcalloc(cycle->pool, sizeof(ngx_log_t)), NULL);
277 ngx_test_null(log->file, ngx_conf_open_file(cycle, name), NULL); 277 ngx_test_null(log->file, ngx_conf_open_file(cycle, name), NULL);
278 278
279 #if 0 279 #if 1
280 /* STUB */ log->log_level = NGX_LOG_DEBUG; 280 /* STUB */ log->log_level = NGX_LOG_DEBUG | NGX_LOG_DEBUG_CORE | NGX_LOG_DEBUG_ALLOC | NGX_LOG_DEBUG_EVENT | NGX_LOG_DEBUG_HTTP;
281 #endif 281 #endif
282 282
283 return log; 283 return log;
284 } 284 }
285 285