add proper func-doc to tsstats.log.parse_logs
This commit is contained in:
parent
54532fd598
commit
21be54675f
|
@ -30,6 +30,15 @@ logger = logging.getLogger('tsstats')
|
||||||
def parse_logs(log_glob, ident_map=None, *args, **kwargs):
|
def parse_logs(log_glob, ident_map=None, *args, **kwargs):
|
||||||
'''
|
'''
|
||||||
parse logs from `log_glob`
|
parse logs from `log_glob`
|
||||||
|
|
||||||
|
:param log_glob: path to server-logs (supports globbing)
|
||||||
|
:param ident_map: identmap used for Client-initializations
|
||||||
|
|
||||||
|
:type log_glob: str
|
||||||
|
:type ident_map: dict
|
||||||
|
|
||||||
|
:return: clients bundled by virtual-server
|
||||||
|
:rtype: dict
|
||||||
'''
|
'''
|
||||||
vserver_clients = {}
|
vserver_clients = {}
|
||||||
for virtualserver_id, logs in\
|
for virtualserver_id, logs in\
|
||||||
|
|
Loading…
Reference in New Issue