pleroma-relay/relay/logging.py

9 lines
158 B
Python
Raw Normal View History

2018-08-10 19:19:38 +00:00
import logging
logging.basicConfig(
level=logging.INFO,
format="[%(asctime)s] %(levelname)s: %(message)s",
handlers=[logging.StreamHandler()]
)