def is_logging_activity(): return (repository.consulting_db_repository() and config.get_mongoctl_config_val("logServerActivity" , False))