commit | 9bc2c514ff612b1127476c0df168fd337f1d9814 | [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 | 4f8f14442da049f2309827cfe953098875636a12 | |
parent | 4a2a1bb146717ab3f63d1bfd0a226cb78b4bab8b [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