Set the initial verbose levels to off. Smarter loadUserSettings().
This commit is contained in:
parent
36eb9f9121
commit
ae01be3c53
|
@ -322,7 +322,7 @@ def setNdaTopDir ( ndaTopDirArg ):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
def staticInitialization ( quiet=False ):
|
def staticInitialization ( quiet=True ):
|
||||||
global sysConfDir
|
global sysConfDir
|
||||||
global technoDir
|
global technoDir
|
||||||
global tab
|
global tab
|
||||||
|
@ -422,6 +422,9 @@ def unloadUserSettings ():
|
||||||
|
|
||||||
|
|
||||||
def loadUserSettings ():
|
def loadUserSettings ():
|
||||||
|
if Hurricane.DataBase.getDB() is not None:
|
||||||
|
print( ' o DataBase already initialized, skip loading of "./coriolis2/settings.py".' )
|
||||||
|
return True
|
||||||
rvalue = False
|
rvalue = False
|
||||||
if os.path.isfile('./coriolis2/settings.py'):
|
if os.path.isfile('./coriolis2/settings.py'):
|
||||||
if os.path.isfile('./coriolis2/__init__.py'):
|
if os.path.isfile('./coriolis2/__init__.py'):
|
||||||
|
|
|
@ -339,8 +339,8 @@ namespace CRL {
|
||||||
Cfg::Configuration::get ();
|
Cfg::Configuration::get ();
|
||||||
|
|
||||||
Cfg::getParamBool ("misc.catchCore" ,false )->registerCb ( this, catchCoreChanged );
|
Cfg::getParamBool ("misc.catchCore" ,false )->registerCb ( this, catchCoreChanged );
|
||||||
Cfg::getParamBool ("misc.verboseLevel1" ,true )->registerCb ( this, verboseLevel1Changed );
|
Cfg::getParamBool ("misc.verboseLevel1" ,false )->registerCb ( this, verboseLevel1Changed );
|
||||||
Cfg::getParamBool ("misc.verboseLevel2" ,true )->registerCb ( this, verboseLevel2Changed );
|
Cfg::getParamBool ("misc.verboseLevel2" ,false )->registerCb ( this, verboseLevel2Changed );
|
||||||
Cfg::getParamBool ("misc.info" ,false )->registerCb ( this, infoChanged );
|
Cfg::getParamBool ("misc.info" ,false )->registerCb ( this, infoChanged );
|
||||||
Cfg::getParamBool ("misc.paranoid" ,false )->registerCb ( this, paranoidChanged );
|
Cfg::getParamBool ("misc.paranoid" ,false )->registerCb ( this, paranoidChanged );
|
||||||
Cfg::getParamBool ("misc.bug" ,false )->registerCb ( this, bugChanged );
|
Cfg::getParamBool ("misc.bug" ,false )->registerCb ( this, bugChanged );
|
||||||
|
|
Loading…
Reference in New Issue