metricsd: Log the histogram name to hash mapping.

When running the metrics_daemon in verbose mode, log the histogram name
along with the hash name.
This is useful when debugging as the protobuf message only contains the
hash of the name.

Change-Id: Ifea7edce55d62d30994ec7b75bb8728f6a0c40e8
This commit is contained in:
Bertrand SIMONNET 2015-09-02 15:07:10 -07:00
parent 03bbd64aa9
commit 8835c5b56e

View file

@ -73,7 +73,7 @@ uint64_t MetricsLogBase::Hash(const std::string& value) {
// name. We can then use this logging to find out what histogram name was
// being hashed to a given MD5 value by just running the version of Chromium
// in question with --enable-logging.
DVLOG(1) << "Metrics: Hash numeric [" << value << "]=[" << hash << "]";
VLOG(1) << "Metrics: Hash numeric [" << value << "]=[" << hash << "]";
return hash;
}