Skip to content

Commit

Permalink
RESP_START_CTIME -> REQ_START_CTIME
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Dec 7, 2017
1 parent bf8f422 commit cc87f85
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions uwsgiconf/options/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,16 +371,16 @@ class vars(object):
"""HTTP response status code."""

RESP_TIME_US = '%(micros)'
"""Response time in microseconds."""
"""Response time in microseconds. E.g.: 1512623650704"""

RESP_TIME_MS = '%(msecs)'
"""Response time in milliseconds."""
"""Response time in milliseconds. E.g.: 1512623650704413"""

REQ_START_TS = '%(time)'
"""Timestamp of the start of the request."""
"""Timestamp of the start of the request. E.g.: 1512623650"""

RESP_START_CTIME = '%(ctime)'
"""Ctime of the start of the request."""
REQ_START_CTIME = '%(ctime)'
"""Ctime of the start of the request. E.g.: Thu Dec 7 08:05:35 2017"""

TIME_UNIX = '%(epoch)'
"""The current time in Unix format."""
Expand All @@ -392,7 +392,11 @@ class vars(object):
"""Human-formatted (Apache style) request time."""

REQ_TIME_FORMATTED = '%(ftime)'
"""Request time formatted with ``date_format``."""
"""Request time formatted with ``apply_strftime``.
.. note:: Use ``apply_strftime`` and placeholders.
"""

RESP_SIZE_HEADER = '%(hsize)'
"""Response headers size."""
Expand Down

0 comments on commit cc87f85

Please sign in to comment.