Skip to content

Commit

Permalink
Update logger.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharan-devarajan authored Jul 17, 2023
1 parent 6c3f235 commit ef090d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlio_profiler/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def initialize_log(logfile, data_dir, process_id):
if os.path.isfile(log_file):
os.remove(log_file)
instance.logger = profiler
instance.logger.initialize(instance.log_file, f"{data_dir}", process_id=process_id)
instance.logger.initialize(f"{instance.logfile}", f"{data_dir}", process_id=process_id)

def get_time(self):
self.logger.get_time()
Expand Down

0 comments on commit ef090d2

Please sign in to comment.