diff options
author | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2018-12-05 21:01:07 +0530 |
---|---|---|
committer | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2018-12-05 21:03:07 +0530 |
commit | 1b7ec748efda9aff3324001c7d62756424f78f2e (patch) | |
tree | 4ded309665c682935f083318ab09d51a33d2b472 /vsperf | |
parent | 3b1253f1ef1f6719a120bb449a1d9174c0d8319d (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>
Diffstat (limited to 'vsperf')
-rwxr-xr-x | vsperf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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( |