1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-21 16:05:25 +02:00

[341578] [dstore] ServerLogger is looped when IOError happens

This commit is contained in:
David McKnight 2011-04-04 13:05:22 +00:00
parent 2e129f77dc
commit 515fb1277e

View file

@ -22,6 +22,7 @@
* David McKnight (IBM) - [284787] [dstore] ability to disable RSECOMM_LOGFILE_MAX option * David McKnight (IBM) - [284787] [dstore] ability to disable RSECOMM_LOGFILE_MAX option
* David McKnight (IBM) - [305272] [dstore][multithread] log close in ServerLogger * David McKnight (IBM) - [305272] [dstore][multithread] log close in ServerLogger
* David McKnight (IBM) - [283613] [dstore] Create a Constants File for all System Properties we support * David McKnight (IBM) - [283613] [dstore] Create a Constants File for all System Properties we support
* Noriaki Takatsu (IBM) - [341578] [dstore] ServerLogger is looped when IOError happens
********************************************************************************/ ********************************************************************************/
package org.eclipse.dstore.core.server; package org.eclipse.dstore.core.server;
@ -145,7 +146,9 @@ public class ServerLogger implements IServerLogger
logFile.createNewFile(); logFile.createNewFile();
found = true; found = true;
} }
catch (IOException e){} catch (IOException e){
return null;
}
} }
else { else {
// if the file exists, check it's size // if the file exists, check it's size