Refactoring. Log messages order reversed.