Commit Graph

64 Commits

Author SHA1 Message Date
Thor77 8ca23e0115 add documentation to tsstats.{config,log,template,utils}.* 2016-05-30 20:23:03 +02:00
Thor77 a1f25648a2 define log_format just once and rename to log_timestamp_format 2016-05-25 20:09:48 +02:00
Thor77 da5683ede2 add tsstats.log.re_log_entry for log-line-matching
* don't evaluate invalid log-lines leading to unexpected results
* don't abort parsing just because of an invalid character at the beginning/end
* add debug-output if line doesn't match
2016-05-25 20:06:00 +02:00
Thor77 42d8c74f72 fix tsstats.log.parse_logs not returning clients 2016-05-24 22:29:49 +02:00
Thor77 53ffad3d81 refactor tsstats.log.parse_log(s)
* rename tsstats.log.parse_logs to tsstats.log.parse_log and remove glob-functionality
* create tsstats.log.parse_log to handle globbing
* fix tests to use tsstats.log.parse_log instead of tsstats.log.parse_logs
* bump version to 0.4.0
2016-05-23 21:50:10 +02:00
Thor77 af3ea48a2d re-add redundant client.nick= in tsstats.log.parse_logs to display nick-changes 2016-05-19 21:59:34 +02:00
Thor77 4bb7553f64 remove duplicate code in tsstats.log.parse_logs
* bump version to 0.2.4
2016-05-19 21:57:15 +02:00
Thor77 61421c588a use None as default for ident_map in tsstats.log.parse_logs 2016-05-19 21:46:22 +02:00
Thor77 55277a2c75 use optional-nick-arg instead of explicit assignment 2016-05-19 15:39:36 +02:00
Thor77 216bedc38f refactor tsstats.client.Clients
* use collections.MutableMapping as base
* use one dict to store all types of Clients
* don't use implicit += but explicit .setdefault in tsstats.log for client-adding
* give all clients to sort_clients in tsstats.template
* remove now unneccessary clients-assignment in tsstats.utils.sort_clients
2016-05-18 22:50:23 +02:00
Thor77 e7fc91229e use % formatting in logging-functions 2016-05-11 20:45:42 +02:00
Thor77 d836b807be move logging-setup into __init__.py and use one central logger-object 2016-05-10 22:50:34 +02:00
Thor77 7e2f4ba09f use py2-style timestamp-retrieval 2016-05-08 21:54:58 +02:00
Thor77 a25a596d02 split tsstats.py into package with multiple files 2016-05-08 21:32:37 +02:00