Fixed logging discrepancy