Standardize debug messages for read and write.