Project

General

Profile

Bug #1453

log_slow and debug-response-time for proxy-core

Added by japc almost 12 years ago. Updated over 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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.

History

#1

Updated by japc almost 12 years ago

Duplicate of #1454.

#2

Updated by stbuehler over 11 years ago

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

Also available in: Atom