Wykres commitów

45 Commity (a3a811aa53b0d6c0239ee63ff21857a412ff2e61)

Autor SHA1 Wiadomość Data
AvSquirrel 3d4dec80a4 Add GPS attitude logging to sqlite log 2016-06-08 00:10:17 +00:00
Christopher Young 404a4c9c05 FlightBox additions: log to /root. 2016-05-27 16:27:22 -04:00
Christopher Young 438a947aa5 Remove extra log message. 2016-05-27 00:18:48 -04:00
Christopher Young d01bdfee43 Typo. 2016-05-03 09:12:49 -04:00
Christopher Young 141045bb0e Add displayable error when SQLite logging is behind. 2016-05-03 09:05:54 -04:00
AvSquirrel 29948156d6 Additional stability improvements 2016-05-03 04:59:13 +00:00
AvSquirrel 57197c55eb Split out traffic source from DEBUG. Fix panic closing closed channel. 2016-05-03 04:40:51 +00:00
AvSquirrel 5478cdaeb8 Add comments and clean up debug messages 2016-05-03 03:50:42 +00:00
AvSquirrel aaf03acd8c Close datalog.go channels on sqlite shutdown 2016-05-03 03:02:44 +00:00
AvSquirrel 24a6da3da9 Added graceful shutdown for SQLite logging 2016-05-02 05:03:21 +00:00
AvSquirrel 2dd8a14d62 Status and settings logged only when replay log enabled 2016-05-01 20:02:56 +00:00
Christopher Young d8624016f6 Track startups in sqlite. 2016-04-22 16:10:56 -04:00
Christopher Young da5f5d003d Remove unused code in comments. 2016-04-19 08:51:47 -04:00
AvSquirrel 955fd13195 Separate ES:30006 logging into its own SQLite table 2016-04-13 05:21:05 +00:00
AvSquirrel 002105bb39 Change dataLogTimestamps from map to slice 2016-04-10 05:21:13 +00:00
AvSquirrel 859e8da9c2 Additional mutex lock for insertData() 2016-04-07 22:34:01 +00:00
AvSquirrel 64b20d2bca Testing more mutex protection for checkTimestamp() 2016-04-06 09:41:23 -05:00
AvSquirrel 23e2721c90 Add datalog mutex for timestamp 2016-04-06 03:01:10 +00:00
Christopher Young 5da86d919f Comment out debugging data. 2016-04-03 14:16:00 -04:00
Christopher Young 8545a9ba0d Fix bulkInsert query logic problem. Maximum rows based on column limitation (999). Issue warning if SQLite is taking too long. 2016-04-03 14:10:42 -04:00
Christopher Young 9607311dbe Increase batch size to 1,000 up to a maximum query size 750,000 bytes. 2016-04-02 15:57:05 -04:00
Christopher Young da4eb3dfc8 Type fix. 2016-04-02 15:40:25 -04:00
Christopher Young 1b093ef1bb INSERT speed fixes. 2016-04-02 15:33:19 -04:00
Christopher Young 980977146e Remove debugging code. 2016-04-01 18:42:28 -04:00
Christopher Young 8cc6534761 Remove debugging code. 2016-04-01 18:33:01 -04:00
Christopher Young 62dd58b07f Use batched inserts instead of prepared statements. 2016-04-01 18:25:53 -04:00
Christopher Young f1f3977e5b Used prepared statements for SQLite inserts. 2016-04-01 15:42:46 -04:00
Christopher Young dbacc6b6e7 Move db writes to a separate goroutine. 2016-04-01 14:05:23 -04:00
Christopher Young 268ea23ce5 Use tmp variable to assign. 2016-04-01 08:40:09 -04:00
Christopher Young 2bfb5d8c33 Typo. 2016-04-01 08:36:10 -04:00
Christopher Young fdbde39e96 Extrapolate GPS timestamps with stratuxClock. 2016-04-01 08:34:37 -04:00
Christopher Young b87aa52044 Batch data writes.
This will be done as part of a system where the database file is
compressed and moved periodically.
2016-04-01 08:26:37 -04:00
Christopher Young e0f82b0a29 Data logging graceful shutdown. 2016-03-26 17:15:59 -04:00
Christopher Young 0199d49238 Move dump1090 terminal logging to datalog package. Remove remnants of replay logging. 2016-03-26 17:12:26 -04:00
Christopher Young fa28ac210c Remove UAT and ES replay logging. Add datalog functions for UAT and ES messages. 2016-03-26 16:49:57 -04:00
Christopher Young bcf20249e8 Don't log situation or traffic data unless globalSettings.ReplayLog is true. 2016-03-25 11:58:44 -04:00
Christopher Young 32097e3b61 Debug output cleanup. 2016-03-24 17:28:00 -04:00
Christopher Young a86314e883 Cleanup. 2016-03-24 17:26:59 -04:00
Christopher Young ce566ae5d3 Use stratuxClock to check timestamp age. 2016-03-24 12:59:29 -04:00
Christopher Young fbc7c6f168 Typo. 2016-03-24 12:13:08 -04:00
Christopher Young 854b96f608 More data logger boilerplate. Add to Makefile and init in main(). 2016-03-24 09:33:11 -04:00
Christopher Young bcef2ba823 Improve main logger goroutine. 2016-03-24 01:14:48 -04:00
Christopher Young 934c24ee71 Generalized logData(), added test code. 2016-03-24 00:23:12 -04:00
Christopher Young 80f1007a6a Add struct .String() marshaling. Insert data function. 2016-03-23 23:08:00 -04:00
Christopher Young e12611e8d4 Initial commit: data logger functions. 2016-03-23 12:31:13 -04:00