raena-crawler-engine/tokopedia_crawler_engine/tokopedia_logger.py

8 lines
198 B
Python
Raw Normal View History

2024-01-24 13:05:07 +00:00
import logging
###### Logger ######
format = "%(asctime)s: %(message)s"
logging.basicConfig(format=format, level=logging.INFO, datefmt="%Y-%m-%d %H:%M:%S")
logger = logging.getLogger("tokopedia")