Home
last modified time | relevance | path

Searched refs:access_log (Results 1 – 7 of 7) sorted by path

/unit/
H A DCHANGES46 *) Bugfix: the router process crashed on reconfiguration if "access_log"
/unit/src/
H A Dnxt_http_request.c799 nxt_router_access_log_t *access_log; in nxt_http_request_close_handler() local
809 access_log = conf->socket_conf->router_conf->access_log; in nxt_http_request_close_handler()
812 if (access_log != NULL) { in nxt_http_request_close_handler()
813 access_log->handler(task, r, access_log, log_format); in nxt_http_request_close_handler()
H A Dnxt_main_process.c608 .access_log = nxt_main_port_access_log_handler,
H A Dnxt_port.h23 nxt_port_handler_t access_log; member
85 _NXT_PORT_MSG_ACCESS_LOG = nxt_port_handler_idx(access_log),
H A Dnxt_router.c273 .access_log = nxt_router_access_log_reopen_handler,
1108 if (rtcf->access_log != NULL && rtcf->access_log->fd == -1) { in nxt_router_conf_apply()
1138 if (router->access_log != rtcf->access_log) { in nxt_router_conf_apply()
1139 nxt_router_access_log_use(&router->lock, rtcf->access_log); in nxt_router_conf_apply()
1141 nxt_router_access_log_release(task, &router->lock, router->access_log); in nxt_router_conf_apply()
1143 router->access_log = rtcf->access_log; in nxt_router_conf_apply()
1199 nxt_router_access_log_release(task, lock, rtcf->access_log); in nxt_router_conf_ready()
1251 nxt_router_access_log_release(task, &router->lock, rtcf->access_log); in nxt_router_conf_error()
3704 nxt_router_access_log_release(task, lock, rtcf->access_log); in nxt_router_conf_release()
H A Dnxt_router.h37 nxt_router_access_log_t *access_log; member
55 nxt_router_access_log_t *access_log; member
227 nxt_router_access_log_t *access_log,
251 nxt_router_access_log_t *access_log);
253 nxt_thread_spinlock_t *lock, nxt_router_access_log_t *access_log);
H A Dnxt_router_access_log.c93 access_log = router->access_log; in nxt_router_access_log_create()
95 if (access_log != NULL && nxt_strstr_eq(&alcf.path, &access_log->path)) { in nxt_router_access_log_create()
111 access_log->path.start = (u_char *) access_log in nxt_router_access_log_create()
134 rtcf->access_log = access_log; in nxt_router_access_log_create()
153 ctx->access_log = access_log; in nxt_router_access_log_writer()
206 access_log = tmcf->router_conf->access_log; in nxt_router_access_log_open()
255 access_log = tmcf->router_conf->access_log; in nxt_router_access_log_ready()
337 access_log = nxt_router->access_log; in nxt_router_access_log_reopen_handler()
354 reopen->access_log = access_log; in nxt_router_access_log_reopen_handler()
418 access_log = reopen->access_log; in nxt_router_access_log_reopen_ready()
[all …]