f47d0d20e811bf8c6e3b31d71cd22071131dea26 |
|
25-Jul-2017 |
Paul Hobbs <phobbs@google.com> |
stats/log_daemon_common: Don't log to stdout Logging to stdout causes the log files for scripts such as apache_access_log_metrics to become huge (many gigabytes) very quickly. Logging individual metrics is not very useful for a debugging standpoint, because you can just look at the actual metrics anyway. When running locally, using --debug-metrics-file will print out the metrics it creates to stdout and send them to a file. Remove the debug log message which is emitted every time a line is matched. BUG=chromium:748684 TEST=unit tests still pass. Change-Id: I50469108b9df27636e05dd402f545032f8bebcb3 Reviewed-on: https://chromium-review.googlesource.com/585614 Commit-Ready: Paul Hobbs <phobbs@google.com> Tested-by: Paul Hobbs <phobbs@google.com> Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
/external/autotest/site_utils/stats/log_daemon_common.py
|