Searched refs:log (Results 1 - 25 of 216) sorted by relevance

123456789

/tldk/app/nginx/src/os/win32/
H A Dngx_alloc.h16 void *ngx_alloc(size_t size, ngx_log_t *log);
17 void *ngx_calloc(size_t size, ngx_log_t *log);
20 #define ngx_memalign(alignment, size, log) ngx_alloc(size, log)
H A Dngx_alloc.c17 void *ngx_alloc(size_t size, ngx_log_t *log) argument
23 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno,
27 ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0, "malloc: %p:%uz", p, size);
33 void *ngx_calloc(size_t size, ngx_log_t *log) argument
37 p = ngx_alloc(size, log);
H A Dngx_thread.c14 ngx_thread_value_t (__stdcall *func)(void *arg), void *arg, ngx_log_t *log)
22 ngx_log_error(NGX_LOG_NOTICE, log, 0,
28 ngx_log_error(NGX_LOG_ALERT, log, err, "CreateThread() failed");
13 ngx_create_thread(ngx_tid_t *tid, ngx_thread_value_t (__stdcall *func)(void *arg), void *arg, ngx_log_t *log) argument
H A Dngx_service.c20 ngx_service(ngx_log_t *log) argument
27 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno,
46 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno,
63 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno,
75 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno,
124 ngx_log_error(NGX_LOG_ALERT, log, err,
/tldk/app/nginx/src/os/unix/
H A Dngx_alloc.h16 void *ngx_alloc(size_t size, ngx_log_t *log);
17 void *ngx_calloc(size_t size, ngx_log_t *log);
31 void *ngx_memalign(size_t alignment, size_t size, ngx_log_t *log);
35 #define ngx_memalign(alignment, size, log) ngx_alloc(size, log)
H A Dngx_daemon.c13 ngx_daemon(ngx_log_t *log) argument
19 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "fork() failed");
32 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "setsid() failed");
40 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno,
46 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "dup2(STDIN) failed");
51 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "dup2(STDOUT) failed");
57 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "dup2(STDERR) failed");
64 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, "close() failed");
H A Dngx_thread_cond.c13 ngx_thread_cond_create(ngx_thread_cond_t *cond, ngx_log_t *log) argument
22 ngx_log_error(NGX_LOG_EMERG, log, err, "pthread_cond_init() failed");
28 ngx_thread_cond_destroy(ngx_thread_cond_t *cond, ngx_log_t *log) argument
37 ngx_log_error(NGX_LOG_EMERG, log, err, "pthread_cond_destroy() failed");
43 ngx_thread_cond_signal(ngx_thread_cond_t *cond, ngx_log_t *log) argument
52 ngx_log_error(NGX_LOG_EMERG, log, err, "pthread_cond_signal() failed");
59 ngx_log_t *log)
73 ngx_log_error(NGX_LOG_ALERT, log, err, "pthread_cond_wait() failed");
58 ngx_thread_cond_wait(ngx_thread_cond_t *cond, ngx_thread_mutex_t *mtx, ngx_log_t *log) argument
H A Dngx_setproctitle.h16 #define ngx_init_setproctitle(log) NGX_OK
29 ngx_int_t ngx_init_setproctitle(ngx_log_t *log);
37 ngx_int_t ngx_init_setproctitle(ngx_log_t *log);
42 #define ngx_init_setproctitle(log) NGX_OK
H A Dngx_alloc.c18 ngx_alloc(size_t size, ngx_log_t *log) argument
24 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno,
28 ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0, "malloc: %p:%uz", p, size);
35 ngx_calloc(size_t size, ngx_log_t *log) argument
39 p = ngx_alloc(size, log);
52 ngx_memalign(size_t alignment, size_t size, ngx_log_t *log) argument
60 ngx_log_error(NGX_LOG_EMERG, log, err,
65 ngx_log_debug3(NGX_LOG_DEBUG_ALLOC, log, 0,
74 ngx_memalign(size_t alignment, size_t size, ngx_log_t *log) argument
80 ngx_log_error(NGX_LOG_EMERG, log, ngx_errn
[all...]
H A Dngx_thread_mutex.c78 ngx_thread_mutex_create(ngx_thread_mutex_t *mtx, ngx_log_t *log) argument
85 ngx_log_error(NGX_LOG_EMERG, log, err,
92 ngx_log_error(NGX_LOG_EMERG, log, err,
100 ngx_log_error(NGX_LOG_EMERG, log, err,
107 ngx_log_error(NGX_LOG_ALERT, log, err,
116 ngx_thread_mutex_destroy(ngx_thread_mutex_t *mtx, ngx_log_t *log) argument
122 ngx_log_error(NGX_LOG_ALERT, log, err,
132 ngx_thread_mutex_lock(ngx_thread_mutex_t *mtx, ngx_log_t *log) argument
141 ngx_log_error(NGX_LOG_ALERT, log, err, "pthread_mutex_lock() failed");
148 ngx_thread_mutex_unlock(ngx_thread_mutex_t *mtx, ngx_log_t *log) argument
[all...]
H A Dngx_solaris_init.c35 ngx_os_specific_init(ngx_log_t *log) argument
40 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
48 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
56 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
69 ngx_os_specific_status(ngx_log_t *log) argument
72 ngx_log_error(NGX_LOG_NOTICE, log, 0, "OS: %s %s",
75 ngx_log_error(NGX_LOG_NOTICE, log, 0, "version: %s",
H A Dngx_posix_init.c35 ngx_os_init(ngx_log_t *log) argument
41 if (ngx_os_specific_init(log) != NGX_OK) {
46 if (ngx_init_setproctitle(log) != NGX_OK) {
68 ngx_log_error(NGX_LOG_ALERT, log, errno,
89 ngx_os_status(ngx_log_t *log) argument
91 ngx_log_error(NGX_LOG_NOTICE, log, 0, NGINX_VER_BUILD);
94 ngx_log_error(NGX_LOG_NOTICE, log, 0, "built by " NGX_COMPILER);
98 ngx_os_specific_status(log);
101 ngx_log_error(NGX_LOG_NOTICE, log, 0,
110 ngx_posix_post_conf_init(ngx_log_t *log)
[all...]
H A Dngx_setaffinity.c14 ngx_setaffinity(ngx_cpuset_t *cpu_affinity, ngx_log_t *log) argument
20 ngx_log_error(NGX_LOG_NOTICE, log, 0,
28 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
36 ngx_setaffinity(ngx_cpuset_t *cpu_affinity, ngx_log_t *log) argument
42 ngx_log_error(NGX_LOG_NOTICE, log, 0,
48 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
H A Dngx_linux_init.c34 ngx_os_specific_init(ngx_log_t *log) argument
39 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, "uname() failed");
56 ngx_os_specific_status(ngx_log_t *log) argument
58 ngx_log_error(NGX_LOG_NOTICE, log, 0, "OS: %s %s",
H A Dngx_setaffinity.h26 void ngx_setaffinity(ngx_cpuset_t *cpu_affinity, ngx_log_t *log);
30 #define ngx_setaffinity(cpu_affinity, log)
H A Dngx_thread.h22 ngx_int_t ngx_thread_mutex_create(ngx_thread_mutex_t *mtx, ngx_log_t *log);
23 ngx_int_t ngx_thread_mutex_destroy(ngx_thread_mutex_t *mtx, ngx_log_t *log);
24 ngx_int_t ngx_thread_mutex_lock(ngx_thread_mutex_t *mtx, ngx_log_t *log);
25 ngx_int_t ngx_thread_mutex_unlock(ngx_thread_mutex_t *mtx, ngx_log_t *log);
30 ngx_int_t ngx_thread_cond_create(ngx_thread_cond_t *cond, ngx_log_t *log);
31 ngx_int_t ngx_thread_cond_destroy(ngx_thread_cond_t *cond, ngx_log_t *log);
32 ngx_int_t ngx_thread_cond_signal(ngx_thread_cond_t *cond, ngx_log_t *log);
34 ngx_log_t *log);
H A Dngx_channel.h26 ngx_log_t *log);
28 ngx_log_t *log);
31 void ngx_close_channel(ngx_fd_t *fd, ngx_log_t *log);
H A Dngx_freebsd_init.c102 ngx_os_specific_init(ngx_log_t *log) argument
112 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
125 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
139 ngx_log_error(NGX_LOG_ALERT, log, ngx_errno,
204 ngx_log_error(NGX_LOG_ALERT, log, err,
217 ngx_log_error(NGX_LOG_ALERT, log, 0,
231 ngx_os_specific_status(ngx_log_t *log) argument
236 ngx_log_error(NGX_LOG_NOTICE, log, 0, "OS: %s %s",
240 ngx_log_error(NGX_LOG_NOTICE, log, 0,
244 ngx_log_error(NGX_LOG_NOTICE, log,
[all...]
H A Dngx_shmem.c22 ngx_log_error(NGX_LOG_ALERT, shm->log, ngx_errno,
35 ngx_log_error(NGX_LOG_ALERT, shm->log, ngx_errno,
50 ngx_log_error(NGX_LOG_ALERT, shm->log, ngx_errno,
59 ngx_log_error(NGX_LOG_ALERT, shm->log, ngx_errno,
64 ngx_log_error(NGX_LOG_ALERT, shm->log, ngx_errno,
76 ngx_log_error(NGX_LOG_ALERT, shm->log, ngx_errno,
95 ngx_log_error(NGX_LOG_ALERT, shm->log, ngx_errno,
100 ngx_log_debug1(NGX_LOG_DEBUG_CORE, shm->log, 0, "shmget id: %d", id);
105 ngx_log_error(NGX_LOG_ALERT, shm->log, ngx_errno, "shmat() failed");
109 ngx_log_error(NGX_LOG_ALERT, shm->log, ngx_errn
[all...]
/tldk/app/nginx/src/core/
H A Dngx_log.h45 typedef u_char *(*ngx_log_handler_pt) (ngx_log_t *log, u_char *buf, size_t len);
46 typedef void (*ngx_log_writer_pt) (ngx_log_t *log, ngx_uint_t level,
85 #define ngx_log_error(level, log, ...) \
86 if ((log)->log_level >= level) ngx_log_error_core(level, log, __VA_ARGS__)
88 void ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
91 #define ngx_log_debug(level, log, ...) \
92 if ((log)->log_level & level) \
93 ngx_log_error_core(NGX_LOG_DEBUG, log, __VA_ARGS__)
101 #define ngx_log_error(level, log, arg
[all...]
H A Dngx_log.c13 static char *ngx_log_set_levels(ngx_conf_t *cf, ngx_log_t *log);
14 static void ngx_log_insert(ngx_log_t *log, ngx_log_t *new_log);
19 static void ngx_log_memory_writer(ngx_log_t *log, ngx_uint_t level,
96 ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, argument
102 ngx_log_error_core(ngx_uint_t level, ngx_log_t *log, ngx_err_t err,
126 if (log->connection) {
127 p = ngx_slprintf(p, last, "*%uA ", log->connection);
148 if (level != NGX_LOG_DEBUG && log->handler) {
149 p = log->handler(log,
216 ngx_log_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, const char *fmt, ...) argument
230 ngx_log_debug_core(ngx_log_t *log, ngx_err_t err, const char *fmt, ...) argument
406 ngx_log_t *log; local
469 ngx_log_t *log; local
482 ngx_log_set_levels(ngx_conf_t *cf, ngx_log_t *log) argument
680 ngx_log_insert(ngx_log_t *log, ngx_log_t *new_log) argument
716 ngx_log_memory_writer(ngx_log_t *log, ngx_uint_t level, u_char *buf, size_t len) argument
748 ngx_log_t *log = data; local
[all...]
/tldk/app/nginx/src/event/
H A Dngx_event_posted.h23 ngx_log_debug1(NGX_LOG_DEBUG_CORE, (ev)->log, 0, "post event %p", ev);\
26 ngx_log_debug1(NGX_LOG_DEBUG_CORE, (ev)->log, 0, \
36 ngx_log_debug1(NGX_LOG_DEBUG_CORE, (ev)->log, 0, \
H A Dngx_event_connect.c43 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, pc->log, 0, "%s socket %d",
47 ngx_log_error(NGX_LOG_ALERT, pc->log, ngx_socket_errno,
53 c = ngx_get_connection(s, pc->log);
57 ngx_log_error(NGX_LOG_ALERT, pc->log, ngx_socket_errno,
70 ngx_log_error(NGX_LOG_ALERT, pc->log, ngx_socket_errno,
77 ngx_log_error(NGX_LOG_ALERT, pc->log, ngx_socket_errno,
110 ngx_log_error(NGX_LOG_ALERT, pc->log, err,
132 ngx_log_error(NGX_LOG_ALERT, pc->log, ngx_socket_errno,
141 ngx_log_error(NGX_LOG_CRIT, pc->log, ngx_socket_errno,
177 rev->log
[all...]
H A Dngx_event_acceptex.c25 c->log->handler = ngx_accept_log_error;
27 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "AcceptEx: %d", c->fd);
30 ngx_log_error(NGX_LOG_CRIT, c->log, rev->ovlp.error,
41 ngx_log_error(NGX_LOG_CRIT, c->log, ngx_socket_errno,
95 ngx_log_t *log; local
107 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, &ls->log, 0,
111 ngx_log_error(NGX_LOG_ALERT, &ls->log, ngx_socket_errno,
117 c = ngx_get_connection(s, &ls->log);
123 c->pool = ngx_create_pool(ls->pool_size, &ls->log);
129 log
224 ngx_acceptex_log_error(ngx_log_t *log, u_char *buf, size_t len) argument
[all...]
H A Dngx_event_accept.c27 ngx_log_t *log; local
57 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, ev->log, 0,
77 ngx_log_debug0(NGX_LOG_DEBUG_EVENT, ev->log, err,
92 ngx_log_error(level, ev->log, err,
101 ngx_log_error(level, ev->log, err, "accept() failed");
144 c = ngx_get_connection(s, ev->log);
148 ngx_log_error(NGX_LOG_ALERT, ev->log, ngx_socket_errno,
161 c->pool = ngx_create_pool(ls->pool_size, ev->log);
175 log = ngx_palloc(c->pool, sizeof(ngx_log_t));
176 if (log
325 ngx_log_t *log; local
767 ngx_accept_log_error(ngx_log_t *log, u_char *buf, size_t len) argument
[all...]

Completed in 15 milliseconds

123456789