diff --git a/register.py b/register.py index de6eb5a..75ed4e1 100644 --- a/register.py +++ b/register.py @@ -72,8 +72,8 @@ def __init__(self, menu_file_path, employees_file_path, 'midnight') count_handler.setLevel(logging.INFO) count_formatter = logging.Formatter('%(asctime)s\n%(message)s') - count_handler.setFormatter(transaction_formatter) - count_logger.addHandler(transaction_handler) + count_handler.setFormatter(count_formatter) + count_logger.addHandler(count_handler) self.count_logger = count_logger # Logger for other events