commit | bcf6c1783e24f1392c5a10a761efc2df46c11983 | [log] [tgz] |
---|---|---|
author | Bertrand SIMONNET <bsimonnet@google.com> | Fri Nov 06 13:25:41 2015 -0800 |
committer | Bertrand SIMONNET <bsimonnet@google.com> | Tue Nov 10 11:50:41 2015 -0800 |
tree | 5471ab3f4e60fbe0fb05b8603311831ee3b4de68 | |
parent | 169ca25dd4c6b980c93cdcfcdb797ff8f01510e4 [diff] |
metricsd: Fix logging initialization. metricsd should only log to a single location (stderr or syslog): * standard error if --logtostderr is set or metricsd runs in the foreground. * syslog if --logtosyslog is set or metricsd is daemonized. Bug: 25472752 Change-Id: Idb918714e1b6975d79682f22495a7ca708d4d97d