This commit is contained in:
n0mjs710 2018-11-06 20:31:00 -06:00
parent 804214b020
commit 59cd2c8ba3
2 changed files with 5 additions and 1 deletions

View File

@ -16,3 +16,7 @@ LOCAL_PEER_FILE = 'local_peer_ids.csv' # User provided (optional, leave
FILE_RELOAD = 7 # Number of days before we reload DMR-MARC database files
PEER_URL = 'https://www.radioid.net/static/rptrs.csv'
SUBSCRIBER_URL = 'https://www.radioid.net/static/users.csv'
# Settings for log files
LOG_PATH = '/var/log/link/' # MUST END IN '/'
LOG_NAME = 'webtables.log'

View File

@ -355,7 +355,7 @@ class web_server(Resource):
if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG,handlers=[logging.FileHandler(PATH + 'logfile.log'),logging.StreamHandler()])
logging.basicConfig(level=logging.INFO,filename = (LOG_PATH + LOG_NAME), filemode='a')
logging.info('web_tables.py starting up')