commit | f7bc6ab7fa21f849250d0f5ee2849f9e49a8d436 | [log] [tgz] |
---|---|---|
author | Yao Chen <yaochen@google.com> | Wed Apr 18 13:45:48 2018 -0700 |
committer | Yao Chen <yaochen@google.com> | Fri Apr 20 14:52:01 2018 -0700 |
tree | 3d751dab478cd4792facae3762ada90308b70cb1 | |
parent | 46e58e1b4086aa0e3eb62f9cdae0eefaea08943f [diff] |
Allow StatsLog to directly write to statsd's socket. + Reuse the log_event_list from liblog. StatsLog's binary format remains unchanged + Copied socket write code from liblog, including the retry logic. + Added build flags to control the StatsLog channel (logd, statsd, or both for debugging) Bug: 78239479 Test: locally tested and saw logs being written to statsd Change-Id: I7b1f0069ead00bbf3c29e4bd5b7f363a7ce26abe