mirror of
https://github.com/ShaYmez/HBmonitor.git
synced 2024-11-21 23:45:17 -05:00
Updates
This commit is contained in:
parent
804214b020
commit
59cd2c8ba3
@ -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'
|
||||
|
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user