def METHOD_NAME(console_level="INFO", console_format=None, file_level="DEBUG", filename=None):
    """
    inputs:
        console_level: string with desired logging level for messages on stdout (notebook)
        file_level: string with desired logging level for message to log file
        filename: file to send logs to
    returns logger
    Call this function to activate logging to console and file
    valid logging levels are 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'
    """
    disable_jupyter_default_logging()
    activate_module_logging("metatlas", console_level, console_format, file_level, filename)
    InteractiveShell.showtraceback = _change_function(InteractiveShell.showtraceback)