Refactor logging string into constant