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:
parent
2e129f77dc
commit
515fb1277e
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue