Project

General

Profile

Actions

Feature #1454

closed

log_slow and debug-response-time for proxy-core

Added by japc about 17 years ago. Updated over 8 years ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_proxy_core
Target version:
ASK QUESTIONS IN Forums:

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.


Files

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
Actions #1

Updated by gstrauss over 8 years ago

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

Updated by gstrauss over 8 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom