HUE-9023 [core] Add proper logging of HTTP requests code and size

Review Request #14340 — Created Oct. 3, 2019 and submitted

romain
hue
master
HUE-9023
hue
jgauthier, johan, ranade, romain, weixia, yingc
commit daa1393009f1c1efc7cefa0a85f21e1e4d9c2efd
Author: Romain <romain.rigaux@gmail.com>
Date:   Thu Oct 3 11:51:22 2019 -0700

    HUE-9023 [core] Add proper logging of HTTP requests code and size
    
    e.g.
    [03/Oct/2019 11:49:12 -0700] INFO     127.0.0.1 romain - "POST /metadata/api/optimizer/top_tables HTTP/1.1" returned in 3360ms 200 755 (mem: 164mb)
    [03/Oct/2019 11:49:12 -0700] INFO     127.0.0.1 romain - "POST /metadata/api/optimizer/top_columns HTTP/1.1" returned in 1560ms 200 1814 (mem: 165mb)

:100644 100644 df3cad41a4 cb4c1695d8 M	desktop/core/src/desktop/log/access.py
:100644 100644 b2709b7d97 2c051c991e M	desktop/core/src/desktop/middleware.py

manual

johan
  1. Ship It!
  2. 
      
romain
Review request changed

Status: Closed (submitted)

Loading...