Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
change logger format
Browse files Browse the repository at this point in the history
  • Loading branch information
hirusha-adi committed Jan 20, 2024
1 parent 086b403 commit 3e4bff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def success(self, message, *args, **kwargs):
logging.Logger.success = success

# configure logger
log_format = '[%(levelname)s] %(asctime)s: %(message)s'
log_format = '(%(asctime)s) [%(levelname)s] %(message)s'
log_file_name = datetime.now().strftime('%Y-%m-%d_%H-%M-%S') + '.log'
log_file_path = os.path.join(os.getcwd(), log_file_name)

Expand Down

0 comments on commit 3e4bff1

Please sign in to comment.