Corrected erroneous logging