Skip to content

Commit

Permalink
Docstrings update.
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Jul 9, 2017
1 parent 10e2ecd commit e0045d4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions uwsgiconf/options/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@


class Logger(object):
"""Base for loggers."""

plugin = None

Expand Down Expand Up @@ -153,7 +152,6 @@ def __init__(self, alias, connection_str):


class Encoder(object):
"""Base for logger encoders."""

name = None

Expand Down Expand Up @@ -465,10 +463,10 @@ def add_logger_encoder(self, encoder, logger=None, requests_only=False, for_sing
* http://uwsgi-docs.readthedocs.io/en/latest/LogEncoders.html
.. note:: Encoders automatically enable ``log-master``
.. note:: Encoders automatically enable master log handling (see ``.set_master_logging_params()``).
.. note:: For best performance consider allocating a thread
for log sending with ``threaded-logger``.
for log sending with ``dedicate_thread``.
:param str|unicode|list|Encoder encoder: Encoder (or a list) to add into processing.
Expand Down Expand Up @@ -604,9 +602,6 @@ class Vars(object):
MOD2 = '%(modifier2)'
'''modifier2 of the request.'''

A = '%(metric.XXX)'
'''access the XXX metric value (see The Metrics subsystem)'''

REQ_COUNT_ERR_READ = '%(rerr)'
'''Number of read errors for the request.
Expand Down Expand Up @@ -642,5 +637,5 @@ class Vars(object):
'''

# todo %(metric.XXX)
# todo %(metric.XXX) - access the XXX metric value (see The Metrics subsystem)
# todo %(var.XXX)

0 comments on commit e0045d4

Please sign in to comment.