patrickomni / omnimobileserver

Stubbed repository; using issues lists
0 stars 0 forks source link

Listener to log raw data before any processing is done #289

Open davroth opened 9 years ago

davroth commented 9 years ago

Omni Listener should log all data streams received exactly as the stream is taken "off the wire".

Logging will be done prior to any data transformation. Logged data will include the raw (unchanged and complete) data stream, date/time stamp, identifier of source of stream, and message type (if applicable) There will be a single log file (rather than daily) to make it straightforward to search Log file may contain data from messages that are eventually rejected

We should also consider managing the log file size by setting constraints. If/when a log file reaches maximum configured size, a LIFO (last in, first out) algorithm should be used to drop off entries