add proper func-doc to tsstats.log.parse_logs

This commit is contained in:
Thor77 2016-06-21 18:29:59 +02:00
parent 54532fd598
commit 21be54675f
1 changed files with 9 additions and 0 deletions

View File

@ -30,6 +30,15 @@ logger = logging.getLogger('tsstats')
def parse_logs(log_glob, ident_map=None, *args, **kwargs):
'''
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 = {}
for virtualserver_id, logs in\