Fixed logger (attempt)