Searched refs:slowlog (Results 1 – 5 of 5) sorted by relevance
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 63 fprintf(slowlog, "script_filename = %s\n", buf); in fpm_php_trace_dump() 75 fprintf(slowlog, "[0x%" PTR_FMT "lx] ", execute_data); in fpm_php_trace_dump() 88 fprintf(slowlog, "%s()", buf); in fpm_php_trace_dump() 90 fprintf(slowlog, "???"); in fpm_php_trace_dump() 122 fprintf(slowlog, " %s:%u\n", *buf ? buf : "unknown", lineno); in fpm_php_trace_dump() 142 FILE *slowlog; in fpm_php_trace() local 146 slowlog = fopen(child->wp->config->slowlog, "a+"); in fpm_php_trace() 148 if (!slowlog) { in fpm_php_trace() 157 if (0 > fpm_php_trace_dump(child, slowlog TSRMLS_CC)) { in fpm_php_trace() 158 fprintf(slowlog, "+++ dump failed\n"); in fpm_php_trace() [all …]
|
H A D | fpm_conf.h | 78 char *slowlog; member
|
H A D | fpm_conf.c | 143 { "slowlog", &fpm_conf_set_string, WPO(slowlog) }, 645 free(wpc->slowlog); in fpm_worker_pool_config_free() 919 if (wp->config->slowlog && *wp->config->slowlog) { in fpm_conf_process_all_pools() 920 fpm_evaluate_full_path(&wp->config->slowlog, wp, NULL, 0); in fpm_conf_process_all_pools() 926 if (! (wp->config->slowlog && *wp->config->slowlog)) { in fpm_conf_process_all_pools() 941 if (wp->config->slowlog && *wp->config->slowlog) { in fpm_conf_process_all_pools() 944 fd = open(wp->config->slowlog, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR); in fpm_conf_process_all_pools() 947 zlog(ZLOG_SYSERROR, "Unable to create or open slowlog(%s)", wp->config->slowlog); in fpm_conf_process_all_pools() 1600 zlog(ZLOG_NOTICE, "\tslowlog = %s", STR2STR(wp->config->slowlog)); in fpm_conf_dump()
|
/PHP-5.4/sapi/fpm/ |
H A D | php-fpm.conf.in | 134 ; - 'slowlog' 430 ; Note: slowlog is mandatory if request_slowlog_timeout is set 431 ;slowlog = log/$pool.log.slow 434 ; dumped to the 'slowlog' file. A value of '0s' means 'off'.
|
/PHP-5.4/ |
H A D | NEWS | 3280 . Fixed bug #53434 (php-fpm slowlog now also logs the original request). (fat)
|
Completed in 43 milliseconds