This patch overrides the base QueueHandler class
from logging to ensure that the queue doesn't grow
infinitely. That can be a problem when there is
no consumer pulling items out of the queue.
the queue is now capped at 200 entries max.
This patch adds some try except blocks in both the stats collector
and the packets collector calls to registered objects. This can
prevent the rest of APRSD falling down when the collector objects
have a failure of some sort.
This patch changes the stats Collector object registration
to take a class name instead of an object. This allows the
app to start up and fetch the configuration correctly so that
when objects are created the CONF has the proper values.
This is so singleton objects can assign settings values at
creation time.
This patch removes the need for the RPC Server from aprsd.
APRSD Now saves it's stats to a pickled file on disk in the
aprsd.conf configured save_location. The web admin UI
will depickle that file to fetch the stats. The aprsd server
will periodically pickle and save the stats to disk.
The Logmonitor will not do a url post to the web admin ui
to send it the latest log entries.
Updated the healthcheck app to use the pickled stats file
and the fetch-stats command to make a url request to the running
admin ui to fetch the stats of the remote aprsd server.
This does some cleanup with the stats collector and
usage of the stats. The patch adds a new optional
param to the collector's collect() method to tell
the object to provide serializable stats. This is
used for the webchat app that sends stats to the
browser.