Refactored logger variable name