diff --git a/ApplicationLibCode/ProjectDataModel/RimWellLogFile.cpp b/ApplicationLibCode/ProjectDataModel/RimWellLogFile.cpp index f36cd486cb..c2547c3aff 100644 --- a/ApplicationLibCode/ProjectDataModel/RimWellLogFile.cpp +++ b/ApplicationLibCode/ProjectDataModel/RimWellLogFile.cpp @@ -168,9 +168,9 @@ bool RimWellLogFile::readFile( QString* errorMessage ) } else if ( !isDateValid( m_date() ) ) { - *errorMessage = QString( "The LAS-file '%1' contains no recognizable date. Please assign a date in the " - "LAS-file property panel" ) - .arg( m_name() ); + RiaLogging::warning( QString( "The LAS-file '%1' contains no recognizable date. Please assign a date in the " + "LAS-file property panel." ) + .arg( m_name() ) ); m_date = DEFAULT_DATE_TIME; }