summaryrefslogtreecommitdiff
path: root/kimap/sessionlogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kimap/sessionlogger.cpp')
-rw-r--r--kimap/sessionlogger.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/kimap/sessionlogger.cpp b/kimap/sessionlogger.cpp
index 2c4bd07..715a5da 100644
--- a/kimap/sessionlogger.cpp
+++ b/kimap/sessionlogger.cpp
@@ -20,8 +20,6 @@
#include "sessionlogger_p.h"
-#include <KDebug>
-
#include <unistd.h>
using namespace KIMAP;
@@ -35,9 +33,7 @@ SessionLogger::SessionLogger()
m_file.setFileName( qgetenv( "KIMAP_LOGFILE" )
+ '.' + QString::number( getpid() )
+ '.' + QString::number( m_id ) );
- if (!m_file.open( QFile::WriteOnly )) {
- kDebug()<<" m_file can be open in write only";
- }
+ m_file.open( QFile::WriteOnly );
}
SessionLogger::~SessionLogger()
@@ -61,3 +57,6 @@ void SessionLogger::disconnectionOccured()
{
m_file.write( "X\n" );
}
+
+
+