Fix logging dependency issue