Project

General

Profile

Actions

Bug #1453

closed

log_slow and debug-response-time for proxy-core

Added by japc over 16 years ago. Updated about 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
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.

Actions #1

Updated by japc over 16 years ago

Duplicate of #1454.

Actions #2

Updated by stbuehler about 16 years ago

  • Status changed from New to Fixed
  • Resolution set to duplicate
Actions

Also available in: Atom