fix dlsim tests failures in CI ( log level improperly set due to log modifications)
This commit is contained in:
@@ -523,7 +523,7 @@ int main(int argc, char **argv)
|
|||||||
int c;
|
int c;
|
||||||
int k,i,j,aa;
|
int k,i,j,aa;
|
||||||
int re;
|
int re;
|
||||||
|
int loglvl=OAILOG_DEBUG;
|
||||||
|
|
||||||
int s,Kr,Kr_bytes;
|
int s,Kr,Kr_bytes;
|
||||||
|
|
||||||
@@ -1001,7 +1001,7 @@ int main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'L':
|
case 'L':
|
||||||
set_glog(atoi(optarg));
|
loglvl = atoi(optarg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'h':
|
case 'h':
|
||||||
@@ -1049,7 +1049,7 @@ int main(int argc, char **argv)
|
|||||||
"cannot load configuration module, exiting\n");
|
"cannot load configuration module, exiting\n");
|
||||||
logInit();
|
logInit();
|
||||||
// enable these lines if you need debug info
|
// enable these lines if you need debug info
|
||||||
set_glog(LOG_DEBUG);
|
set_glog(loglvl);
|
||||||
// moreover you need to init itti with the following line
|
// moreover you need to init itti with the following line
|
||||||
// however itti will catch all signals, so ctrl-c won't work anymore
|
// however itti will catch all signals, so ctrl-c won't work anymore
|
||||||
// alternatively you can disable ITTI completely in CMakeLists.txt
|
// alternatively you can disable ITTI completely in CMakeLists.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user