Logging encoding.
This commit is contained in:
parent
1a5df46eca
commit
875546040f
|
@ -26,7 +26,7 @@ def main():
|
||||||
# KISS_HOST = os.environ.get("KISS_HOST", "192.168.0.30")
|
# KISS_HOST = os.environ.get("KISS_HOST", "192.168.0.30")
|
||||||
# KISS_PORT = os.environ.get("KISS_PORT", "8001")
|
# KISS_PORT = os.environ.get("KISS_PORT", "8001")
|
||||||
|
|
||||||
logging.basicConfig(filename=config['Settings']['log_path'], encoding='utf-8', level=logging.DEBUG)
|
logging.basicConfig(filename=config['Settings']['log_path'], level=logging.DEBUG)
|
||||||
logging.debug('kiss_and_db.py running')
|
logging.debug('kiss_and_db.py running')
|
||||||
|
|
||||||
ki = aprs.TCPKISS(host=config['Settings']['kiss_host'], port=int(config['Settings']['kiss_port']))
|
ki = aprs.TCPKISS(host=config['Settings']['kiss_host'], port=int(config['Settings']['kiss_port']))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user