Refactored logger to LOG