Remove JSON Reporting
It has a major problem with byte strings in the dictionaries… this may never work
This commit is contained in:
parent
31223a846d
commit
574a89e7f9
|
@ -600,7 +600,9 @@ if REPORTS['REPORT_NETWORKS'] == 'PICKLE':
|
|||
file.close()
|
||||
except IOError as detail:
|
||||
logger.error('I/O Error: %s', detail)
|
||||
|
||||
|
||||
'''
|
||||
JSON DOES NOT WORK, AND MAY NEVER... NEED TO FIX IT OR REMOVE IT
|
||||
elif REPORTS['REPORT_NETWORKS'] == 'JSON':
|
||||
def reporting_loop():
|
||||
logger.info('Periodic Reporting Loop Started (JSON)')
|
||||
|
@ -610,7 +612,7 @@ elif REPORTS['REPORT_NETWORKS'] == 'JSON':
|
|||
file.close()
|
||||
except IOError as detail:
|
||||
logger.error('I/O Error: %s', detail)
|
||||
|
||||
'''
|
||||
elif REPORTS['REPORT_NETWORKS'] == 'REDIS':
|
||||
def reporting_loop():
|
||||
logger.debug('Periodic Reporting Loop Started (REDIS)')
|
||||
|
|
|
@ -17,8 +17,8 @@ PATH: /absolute/path/to/DMRlink
|
|||
# specifiec by "REPORT_INTERVAL" in seconds. Possible values
|
||||
# for "REPORT_NETWORKS" are:
|
||||
# PICKLE - a Python pickle file of the network's data structure
|
||||
# JSON - a JSON file of the network's data structure
|
||||
# REDIS - send JSON format data structure to a local|remote
|
||||
# (JSON DOES NOT WORK RNIGHT NOW) JSON - a JSON file of the network's data structure
|
||||
# (REDIS DOES NOT WORK RIGHT NOW) REDIS - send JSON format data structure to a local|remote
|
||||
# redis server
|
||||
# PRINT - a pretty print (STDOUT) of the data structure
|
||||
# "PRINT_PEERS_INC_MODE" - Boolean to include mode bits
|
||||
|
|
Loading…
Reference in New Issue