Logger improvements