summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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