summaryrefslogtreecommitdiff
path: root/extensions/source/logging/filehandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/logging/filehandler.cxx')
-rw-r--r--extensions/source/logging/filehandler.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx
index a59a43cb9800..87bf330d50b5 100644
--- a/extensions/source/logging/filehandler.cxx
+++ b/extensions/source/logging/filehandler.cxx
@@ -186,13 +186,9 @@ namespace logging
#if OSL_DEBUG_LEVEL > 0
if ( m_eFileValidity == eInvalid )
{
- OStringBuffer sMessage;
- sMessage.append( "FileHandler::impl_prepareFile_nothrow: could not open the designated log file:" );
- sMessage.append( "\nURL: " );
- sMessage.append( OString( m_sFileURL.getStr(), m_sFileURL.getLength(), osl_getThreadTextEncoding() ) );
- sMessage.append( "\nerror code: " );
- sMessage.append( (sal_Int32)res );
- OSL_FAIL( sMessage.makeStringAndClear().getStr() );
+ SAL_WARN( "extensions.logging", "FileHandler::impl_prepareFile_nothrow: could not open the designated log file:"
+ "\nURL: " << m_sFileURL
+ << "\nerror code: " << (sal_Int32)res );
}
#endif
if ( m_eFileValidity == eValid )