zulip/analytics
Greg Price b830b446f1 logging: Reduce `create_logger` to new `log_to_file`.
The name `create_logger` suggests something much bigger than what this
function actually does -- the logger doesn't any more or less exist
after the function is called than before.  Its one real function is to
send logs to a specific file.

So, pull out that logic to an appropriately-named function just for
it.  We already use `logging.getLogger` in a number of places to
simply get a logger by name, and the old `create_logger` callsites can
do the same.
2017-12-12 17:17:08 -08:00
..
lib logging: Reduce `create_logger` to new `log_to_file`. 2017-12-12 17:17:08 -08:00
management analytics: Use Python 3 syntax for typing (final). 2017-11-22 12:16:59 -08:00
migrations analytics: Use python 3 syntax for typing. 2017-11-17 13:16:49 -08:00
tests invitations: Add LoggingCountStat to keep track of sent invitations. 2017-12-06 20:35:50 -08:00
__init__.py Create "analytics" app with activity reports. 2013-11-06 12:07:32 -05:00
models.py analytics: Use Python 3 syntax for typing (part 2). 2017-11-22 12:16:58 -08:00
urls.py python: Sort imports in smaller apps. 2017-11-15 15:55:49 -08:00
views.py activity: Show the time the data is from. 2017-12-12 15:30:03 -08:00