NFVBENCH-24 Send runlogdate as date 89/41889/1
authorKerim Gokarslan <kgokarsl@cisco.com>
Wed, 13 Sep 2017 22:57:10 +0000 (15:57 -0700)
committerKerim Gokarslan <kgokarsl@cisco.com>
Wed, 13 Sep 2017 22:57:15 +0000 (15:57 -0700)
Change-Id: I2791d222c213081b356b64b7dae886ace034b14a
Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
nfvbench/fluentd.py

index dc67008..93c90fa 100644 (file)
@@ -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