Commit 82c3f06d authored by frtabu's avatar frtabu

fix dlsim tests failures in CI ( log level improperly set due to log modifications)

parent 51c86dd4
...@@ -523,7 +523,7 @@ int main(int argc, char **argv) ...@@ -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) ...@@ -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) ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment