Searched refs:level (Results 1 - 25 of 33) sorted by relevance

12

/tldk/app/nginx/src/core/
H A Dngx_log.h36 * after the adding a new debug level
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) \
101 #define ngx_log_error(level, log, args...) \
102 if ((log)->log_level >= level) ngx_log_error_cor
[all...]
H A Dngx_syslog.h26 void ngx_syslog_writer(ngx_log_t *log, ngx_uint_t level, u_char *buf,
H A Dngx_file.c226 if ((path->level[0] == 0) || (err != NGX_ENOPATH)) {
243 size_t i, level; local
251 level = path->level[n];
253 if (level == 0) {
257 len -= level;
259 ngx_memcpy(&file[i], &file[len], level);
260 i += level + 1;
275 if (path->level[i] == 0) {
279 pos += path->level[
365 ssize_t level; local
[all...]
H A Dngx_log.c19 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,
120 p = ngx_slprintf(p, last, " [%V] ", &err_levels[level]);
148 if (level != NGX_LOG_DEBUG && log->handler) {
163 if (log->log_level < level && !debug_connection) {
168 log->writer(log, level, errstr, p - errstr);
199 || level > NGX_LOG_WARN
205 msg -= (7 + err_levels[level].len + 3);
207 (void) ngx_sprintf(msg, "nginx: [%V] ", &err_levels[level]);
216 ngx_log_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, const char *fmt, ...) argument
716 ngx_log_memory_writer(ngx_log_t *log, ngx_uint_t level, u_char *buf, size_t len) argument
[all...]
H A Dngx_file.h53 size_t level[NGX_MAX_PATH_LEVEL]; member in struct:__anon16
67 size_t level[NGX_MAX_PATH_LEVEL]; member in struct:__anon17
H A Dngx_connection.c1115 ngx_uint_t log_error, level; local
1179 level = NGX_LOG_INFO;
1183 level = NGX_LOG_ERR;
1187 level = NGX_LOG_CRIT;
1191 level = NGX_LOG_CRIT;
1194 ngx_log_error(level, c->log, err, ngx_close_socket_n " %d failed", fd);
1351 ngx_uint_t level; local
1390 level = NGX_LOG_INFO;
1394 level = NGX_LOG_ERR;
1398 level
[all...]
H A Dngx_syslog.c237 ngx_syslog_writer(ngx_log_t *log, ngx_uint_t level, u_char *buf, argument
251 peer->severity = level - 1;
H A Dngx_conf_file.h276 void ngx_cdecl ngx_conf_log_error(ngx_uint_t level, ngx_conf_t *cf,
/tldk/app/nginx/src/http/modules/
H A Dngx_http_flv_module.c68 ngx_uint_t level, i; local
129 level = NGX_LOG_ERR;
139 level = NGX_LOG_ERR;
145 level = NGX_LOG_CRIT;
151 ngx_log_error(level, log, of.err,
H A Dngx_http_random_index_module.c82 ngx_uint_t n, level; local
126 level = NGX_LOG_ERR;
130 level = NGX_LOG_ERR;
134 level = NGX_LOG_CRIT;
138 ngx_log_error(level, r->connection->log, err,
H A Dngx_http_static_module.c55 ngx_uint_t level; local
114 level = NGX_LOG_ERR;
124 level = NGX_LOG_ERR;
130 level = NGX_LOG_CRIT;
136 ngx_log_error(level, log, of.err,
H A Dngx_http_gzip_static_module.c89 ngx_uint_t level; local
176 level = NGX_LOG_ERR;
181 level = NGX_LOG_CRIT;
185 ngx_log_error(level, log, of.err,
H A Dngx_http_auth_basic_module.c104 ngx_uint_t i, level, login, left, passwd; local
160 level = NGX_LOG_ERR;
164 level = NGX_LOG_CRIT;
168 ngx_log_error(level, r->connection->log, err,
H A Dngx_http_dav_module.c1035 ngx_uint_t level; local
1038 level = NGX_LOG_ERR;
1042 level = NGX_LOG_ERR;
1046 level = NGX_LOG_ERR;
1050 level = NGX_LOG_CRIT;
1054 level = NGX_LOG_CRIT;
1058 ngx_log_error(level, log, err, "%s \"%s\" failed", failed, path);
H A Dngx_http_gzip_filter_module.c24 ngx_int_t level; member in struct:__anon145
158 offsetof(ngx_http_gzip_conf_t, level),
622 rc = deflateInit2(&ctx->zstream, (int) conf->level, Z_DEFLATED,
1146 conf->level = NGX_CONF_UNSET;
1169 ngx_conf_merge_value(conf->level, prev->level, 1);
H A Dngx_http_autoindex_module.c162 ngx_uint_t level, format; local
220 level = NGX_LOG_ERR;
224 level = NGX_LOG_ERR;
228 level = NGX_LOG_CRIT;
232 ngx_log_error(level, r->connection->log, err,
/tldk/app/nginx/src/event/
H A Dngx_event_connect.c29 ngx_uint_t level; local
220 level = NGX_LOG_ERR;
223 level = NGX_LOG_CRIT;
226 ngx_log_error(level, c->log, err, "connect() to %V failed",
H A Dngx_event_accept.c28 ngx_uint_t level; local
82 level = NGX_LOG_ALERT;
85 level = NGX_LOG_ERR;
88 level = NGX_LOG_CRIT;
92 ngx_log_error(level, ev->log, err,
101 ngx_log_error(level, ev->log, err, "accept() failed");
/tldk/app/nginx/src/event/modules/
H A Dngx_poll_module.c243 ngx_uint_t i, found, level; local
281 level = NGX_LOG_INFO;
284 level = NGX_LOG_ALERT;
287 ngx_log_error(level, cycle->log, err, "poll() failed");
H A Dngx_select_module.c275 ngx_uint_t level; local
284 level = NGX_LOG_INFO;
287 level = NGX_LOG_ALERT;
290 ngx_log_error(level, cycle->log, err, "select() failed");
H A Dngx_devpoll_module.c348 ngx_uint_t level, instance; local
390 level = NGX_LOG_INFO;
393 level = NGX_LOG_ALERT;
396 ngx_log_error(level, cycle->log, err, "ioctl(DP_POLL) failed");
H A Dngx_eventport_module.c443 ngx_uint_t i, level; local
482 level = (err == NGX_EINTR) ? NGX_LOG_INFO : NGX_LOG_ALERT;
483 ngx_log_error(level, cycle->log, err, "port_getn() failed");
H A Dngx_kqueue_module.c503 ngx_uint_t level; local
521 * 64-bit Darwin kernel has the bug: kernel level ts.tv_nsec is
522 * the int32_t while user level ts.tv_nsec is the long (64-bit),
555 level = NGX_LOG_INFO;
558 level = NGX_LOG_ALERT;
561 ngx_log_error(level, cycle->log, err, "kevent() failed");
H A Dngx_epoll_module.c789 ngx_uint_t level; local
816 level = NGX_LOG_INFO;
819 level = NGX_LOG_ALERT;
822 ngx_log_error(level, cycle->log, err, "epoll_wait() failed");
/tldk/app/nginx/src/tldk/
H A Dtldk_sock.c533 setsockopt(int sd, int level, int optname, const void *optval, socklen_t optlen) argument
538 ngx_worker, __func__, sd, level, optname, optval, optlen);
542 return real_setsockopt(sd, level, optname, optval, optlen);

Completed in 22 milliseconds

12