Fixing log messages