zulip/zerver/management/commands
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
..
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
add_users_to_mailing_list.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
add_users_to_streams.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
bankrupt_users.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
bulk_change_user_name.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
change_user_email.py zerver/management: Remove unused imports (F401). 2017-11-07 16:36:54 -08:00
check_redis.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
checkconfig.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
compilemessages.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
convert_bot_to_outgoing_webhook.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
create_default_stream_groups.py management: Add option to set description of default stream groups. 2017-11-15 17:06:43 -08:00
create_large_indexes.py zerver/management: Use python 3 syntax for typing. 2017-10-26 15:24:56 -07:00
create_stream.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
create_user.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
deactivate_realm.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
deactivate_user.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
delete_old_unclaimed_attachments.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
deliver_email.py logging: Reduce `create_logger` to new `log_to_file`. 2017-12-12 17:17:08 -08:00
dump_messages.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
email_mirror.py requirements: Upgrade mypy to 0.550. 2017-11-25 10:06:27 -08:00
enqueue_digest_emails.py logging: Reduce `create_logger` to new `log_to_file`. 2017-12-12 17:17:08 -08:00
enqueue_file.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
export.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
export_single_user.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
export_usermessage_batch.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
fill_memcached_caches.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
fix_unreads.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
generate_invite_links.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
generate_multiuse_invite_link.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
generate_realm_creation_link.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
get_migration_status.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
import.py Scripts: Add script for resetting postgres sequences for imports. 2017-12-01 06:38:08 -08:00
initialize_voyager_db.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
knight.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
list_realms.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
logout_all_users.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
makemessages.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
merge_streams.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
print_email_delivery_backlog.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
process_queue.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
purge_queue.py purge_queue: Allow purging Tornado-consumed queues. 2017-11-29 14:44:53 -08:00
query_ldap.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
rate_limit.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
reactivate_realm.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
realm_domain.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
realm_emoji.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
realm_filters.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
remove_users_from_stream.py zerver/management: Remove unused imports (F401). 2017-11-07 16:36:54 -08:00
rename_stream.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
runtornado.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
send_password_reset_email.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
send_stats.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
send_test_email.py zerver/management: Remove unused imports (F401). 2017-11-07 16:36:54 -08:00
send_webhook_fixture_message.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
set_default_streams.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
set_message_flags.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
show_admins.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
show_unreads.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
soft_deactivate_users.py python: Sort imports in management commands. 2017-11-15 15:43:47 -08:00
sync_ldap_user_data.py logging: Reduce `create_logger` to new `log_to_file`. 2017-12-12 17:17:08 -08:00
turn_off_digests.py zerver/management: Remove unused imports (F401). 2017-11-07 16:36:54 -08:00