2018-10-01 15:51:31 +02:00
|
|
|
import logging
|
|
|
|
|
|
|
|
log = logging.getLogger("txupnp")
|
|
|
|
handler = logging.StreamHandler()
|
|
|
|
handler.setFormatter(logging.Formatter('%(asctime)-15s-%(filename)s:%(lineno)s->%(message)s'))
|
|
|
|
log.addHandler(handler)
|
|
|
|
log.setLevel(logging.INFO)
|