summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKerim Gokarslan <kgokarsl@cisco.com>2017-09-13 15:57:10 -0700
committerKerim Gokarslan <kgokarsl@cisco.com>2017-09-13 15:57:15 -0700
commit4e74e931fb22017abffbe0c4dbed668d5be14e54 (patch)
tree6aaec38b7a6ca6fa7b6c40523b1bf197a622f5d2
parentce9950c0e12b173024fedbfff889c7ad4c62ae9e (diff)
NFVBENCH-24 Send runlogdate as date
Change-Id: I2791d222c213081b356b64b7dae886ace034b14a Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
-rw-r--r--nfvbench/fluentd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfvbench/fluentd.py b/nfvbench/fluentd.py
index dc67008..93c90fa 100644
--- a/nfvbench/fluentd.py
+++ b/nfvbench/fluentd.py
@@ -41,7 +41,7 @@ class FluentLogHandler(logging.Handler):
def start_new_run(self):
'''Delimitate a new run in the stream of records with a new timestamp
'''
- self.runlogdate = str(datetime.now())
+ self.runlogdate = self.__get_timestamp()
# reset counters
self.__warning_counter = 0
self.__error_counter = 0