import logging

fm = "%(asctime)s %(levelname)s [%(name)s] [%(filename)s (%(funcName)s:%(lineno)d] - %(message)s"
logging.basicConfig(level=logging.INFO, filename="./log/file1.log", format=fm)


def get_log():
    return logging

9fde84a9f19a03a7e22c171aa9be37e20f8d61fe
<mask token>


def get_log():
    return logging

<mask token>
logging.basicConfig(level=logging.INFO, filename='./log/file1.log', format=fm)


def get_log():
    return logging

<mask token>
fm = (
    '%(asctime)s %(levelname)s [%(name)s] [%(filename)s (%(funcName)s:%(lineno)d] - %(message)s'
    )
logging.basicConfig(level=logging.INFO, filename='./log/file1.log', format=fm)


def get_log():
    return logging

import logging
fm = (
    '%(asctime)s %(levelname)s [%(name)s] [%(filename)s (%(funcName)s:%(lineno)d] - %(message)s'
    )
logging.basicConfig(level=logging.INFO, filename='./log/file1.log', format=fm)


def get_log():
    return logging

import logging

fm = "%(asctime)s %(levelname)s [%(name)s] [%(filename)s (%(funcName)s:%(lineno)d] - %(message)s"
logging.basicConfig(level=logging.INFO, filename="./log/file1.log", format=fm)


def get_log():
    return logging
