Browse Source

Remove err message in closeLog method

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/slim/trunk@223 7c53e7cc-98ea-0310-8f1f-a0b24da60408
iwamatsu 11 years ago
parent
commit
373d2f61cb
1 changed files with 1 additions and 4 deletions
  1. 1 4
      log.cpp

+ 1 - 4
log.cpp

@@ -18,9 +18,6 @@ LogUnit::openLog(const char * filename)
 void
 LogUnit::closeLog()
 {
-	if (logFile.is_open()) {
+	if (logFile.is_open())
 		logFile.close();
-	} else {
-		cerr << APPNAME << ": closing Log file, while is already closed" << endl;
-	}
 }