Project

General

Profile

Feature #1454

log_slow and debug-response-time for proxy-core

Added by japc almost 12 years ago. Updated about 3 years ago.

Status:
Obsolete
Priority:
Normal
Assignee:
-
Category:
mod_proxy_core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
Yes

Description

Added two options to proxy-core for debugging:

log_slow : either 0 (disabled) or seconds (default = 60), if backend requests took more than this it will be logged

debug-response-time : enable/disable logging of all backend response times (default is "disable")

example configuration:


  proxy-core.log-slow = 5
  proxy-core.debug-response-time = "enable" 

example output:


2007-11-14 14:14:48: mod_proxy_core.c.2303: (trace) request (/dimp/imp.php/PollFolders) debug_response_time: current state: 6, elapsed: 1
2007-11-14 14:14:49: mod_proxy_core.c.2298: (trace) request (/login/auth.php) runs longer than 5 secs: current state: 6, elapsed: 6
2007-11-14 14:14:49: mod_proxy_core.c.2303: (trace) request (/login/auth.php) debug_response_time: current state: 6, elapsed: 6

I found this very usefull to debug backend problems.

lighttpd-1.5-r1992-mod_proxy-log_slow.diff (4.08 KB) lighttpd-1.5-r1992-mod_proxy-log_slow.diff lighttpd-1.5-r1992-mod_proxy-log_slow.diff japc, 2007-11-14 14:20

History

#1

Updated by gstrauss about 3 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes
#2

Updated by gstrauss about 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom