Reset statsd writer to init state after close
Bug: 117796113 Test: locally tested and verified stats logs can write to statsd again. Change-Id: I33b006199d23f851ff1a6e49445fb16d74223062
This commit is contained in:
parent
83093e7ef8
commit
763e3aee42
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ void note_log_drop() {
|
|||
|
||||
void stats_log_close() {
|
||||
statsd_writer_init_lock();
|
||||
write_to_statsd = __write_to_statsd_init;
|
||||
if (statsdLoggerWrite.close) {
|
||||
(*statsdLoggerWrite.close)();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue