@@ -299,19 +299,22 @@ int run(int argc, char** argv)
299
299
300
300
if (QsLogging::initQsLog (configPath) != 0 )
301
301
{
302
- LOGINIT ( " Automaton::Compiler " );
303
- LERROR << " Call to QsLogging::initQsLog( \" " << configPath << " \" ) failed." ;
302
+ std::cerr << " Call to QsLogging::initQsLog( \" " << configPath. toStdString ()
303
+ << " \" ) failed." ;
304
304
return EXIT_FAILURE;
305
305
}
306
-
306
+ std::cerr << " compile_rules before Lima::AmosePluginsManager::single " ;
307
307
// Necessary to initialize factories
308
308
Lima::AmosePluginsManager::single ();
309
309
// Lima::AmosePluginsManiager::changeable().loadPlugins(configPath);
310
+ std::cerr << " compile_rules before loadPlugins" ;
310
311
if (!Lima::AmosePluginsManager::changeable ().loadPlugins (configPath))
311
312
{
312
313
LOGINIT (" Automaton::Compiler" );
313
314
LERROR << " compile-rules: Call to loadPlugins(\" "
314
315
<< configPath << " \" ) failed." ;
316
+ std::cerr << " compile-rules: Call to loadPlugins(\" "
317
+ << configPath.toStdString () << " \" ) failed." ;
315
318
return EXIT_FAILURE;
316
319
}
317
320
@@ -325,6 +328,7 @@ int run(int argc, char** argv)
325
328
LOGINIT (" Automaton::Compiler" );
326
329
LDEBUG << " main: MediaticData::changeable().init( "
327
330
<< param.resourcesDir << " )..." ;
331
+ std::cerr << " compile_rules before MediaticData::changeable().init" ;
328
332
MediaticData::changeable ().init (
329
333
resourcesPath.toUtf8 ().constData (),
330
334
configPath.toUtf8 ().constData (),
@@ -374,6 +378,9 @@ int run(int argc, char** argv)
374
378
LOGINIT (" Automaton::Compiler" );
375
379
LERROR << " No language was configured configured with" << configDirs
376
380
<< " and" << param.lpConfigFile .c_str ();
381
+ std::cerr << " No language was configured configured with"
382
+ << configDirs.join (" :" ).toStdString ()
383
+ << " and" << param.lpConfigFile ;
377
384
return EXIT_FAILURE;
378
385
}
379
386
0 commit comments