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:
Carlos Ruiz 2011-06-02 00:17:57 -05:00
parent 5bbd7015ab
commit 643207c0f8
1 changed files with 3 additions and 1 deletions

View File

@ -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