Fix a problem with disconnecting the eclipse console. Logging is redirected to a file and the eclipse console cannot be used to drive OSGi.
This commit is contained in:
parent
5bbd7015ab
commit
643207c0f8
|
@ -469,7 +469,9 @@ public final class Adempiere
|
|||
System.exit(1);
|
||||
|
||||
Ini.setClient (isClient); // init logging in Ini
|
||||
CLogMgt.initialize(isClient);
|
||||
|
||||
if (! isClient) // Calling this on client is dropping the link with eclipse console
|
||||
CLogMgt.initialize(isClient);
|
||||
// Init Log
|
||||
log = CLogger.getCLogger(Adempiere.class);
|
||||
// Greeting
|
||||
|
|
Loading…
Reference in New Issue