aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2018-12-05 21:01:07 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2018-12-05 21:03:07 +0530
commit1b7ec748efda9aff3324001c7d62756424f78f2e (patch)
tree4ded309665c682935f083318ab09d51a33d2b472
parent3b1253f1ef1f6719a120bb449a1d9174c0d8319d (diff)
VSPERF: Timestamp Variable.
LOG_TIMESTAMP name was misspelled. This patch fixes it. This variable is only used by collectd-collector Change-Id: I172dd96b717168cf3da76be6e631cc1d01af8663 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
-rwxr-xr-xvsperf2
1 files changed, 1 insertions, 1 deletions
diff --git a/vsperf b/vsperf
index 5c1d88a1..4c41a7b1 100755
--- a/vsperf
+++ b/vsperf
@@ -237,7 +237,7 @@ def configure_logging(level):
"""
date = datetime.datetime.fromtimestamp(time.time())
timestamp = date.strftime('%Y-%m-%d_%H-%M-%S')
- settings.setValue('LOG_TIMEMSTAMP', timestamp)
+ settings.setValue('LOG_TIMESTAMP', timestamp)
name, ext = os.path.splitext(settings.getValue('LOG_FILE_DEFAULT'))
rename_default = "{name}_{uid}{ex}".format(name=name, uid=timestamp, ex=ext)
log_file_default = os.path.join(