Fix logs to help debug