From b9f0a63e2a1d9b94f401f9fc31ff47dc739fa967 Mon Sep 17 00:00:00 2001 From: "Sridhar K. N. Rao" Date: Wed, 18 Jul 2018 17:44:47 +0530 Subject: Logging: Enhance logging with separate files and timestamps This patch adds following: 1. overall.log file is change to vsperf-overall-timestamp.log files 2. The overall.log files will include timestamps too. 3. Separate log files for infrastructure metrics. 4. All timestamps of the logfiles for a given test will be same. 5. Store the timestamp in 'LOG_TIMESTAMP' 6. Create metrics-log only if 'COLLECTOR' is set to 'Collectd' JIRA: VSPERF-586 Change-Id: I35d373a66b1074f6ee1a440ffc82bc3db03f36e7 Signed-off-by: Sridhar K. N. Rao --- conf/00_common.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'conf/00_common.conf') diff --git a/conf/00_common.conf b/conf/00_common.conf index d54c8a5a..a846fb55 100644 --- a/conf/00_common.conf +++ b/conf/00_common.conf @@ -98,11 +98,14 @@ SHELL_CMD = ['/bin/bash', '-c'] LOG_DIR = '/tmp' # default log for all "small" executables -LOG_FILE_DEFAULT = 'overall.log' +LOG_FILE_DEFAULT = 'vsperf-overall.log' # log file for all commands executed on host LOG_FILE_HOST_CMDS = 'host-cmds.log' +# log file prefix for infrastructure metrics +LOG_FILE_INFRA_METRICS_PFX = 'collectd_' + # ############################ # Test configuration # ############################ -- cgit 1.2.3-korg