diff --git a/aprsd/fake_aprs.py b/aprsd/fake_aprs.py index f29e141..0514296 100644 --- a/aprsd/fake_aprs.py +++ b/aprsd/fake_aprs.py @@ -30,6 +30,7 @@ CONFIG = None LOG = logging.getLogger('ARPSSERVER') + # Setup the logging faciility # to disable logging to stdout, but still log to file # use the --quiet option on the cmdln diff --git a/aprsd/main.py b/aprsd/main.py index 6b25c4f..d7d2dd9 100644 --- a/aprsd/main.py +++ b/aprsd/main.py @@ -134,12 +134,10 @@ def setup_connection(): msg = ("user {} pass {} vers aprsd {}\n".format(user, password, aprsd.__version__)) sock.send(msg.encode()) - def signal_handler(signal, frame): LOG.info("Ctrl+C, exiting.") # sys.exit(0) # thread ignores this os._exit(0) -# end signal_handler def parse_email(msgid, data, server):