#1 2014-10-03 16:38:33

Langley
Member
Registered: 2014-08-29
Posts: 4

Turning off "In AutoLoadModulesFromPath at..." messages

I'm experimenting with CppMicroServices 2.1.0 and more specifically the autoloading feature. Unfortunately, I haven't discovered how to turn off the logging when the AutoLoadModulesFromPath() method is running (without modifying the source for that function of course).

I'd love to set the logging level by just setting a configuration flag or programatically setting the logging level in my application. I tried using installMsgHandler(0) as the test in usDebugOutputTest.cpp did but that didn't turn off the logging coming from AutoLoadModulesFromPath. Clearly I'm missing something.

Thanks in advance for pointers. CppMicroServices looks very useful and I'm excited to use it.

- Langley

Offline

#2 2014-10-03 17:05:16

sascha
Administrator
Registered: 2012-05-04
Posts: 45

Re: Turning off "In AutoLoadModulesFromPath at..." messages

Offline

#3 2014-10-03 17:13:52

Langley
Member
Registered: 2014-08-29
Posts: 4

Re: Turning off "In AutoLoadModulesFromPath at..." messages

Thank you for your amazingly quick reply Sascha!

Great news that this is a problem that has already been addressed in the development branch.

Do you have a "ballpark" estimate of when the 3.0 branch will be released? I'm in the process of checking CppMicroServices into our internal development infrastructure so that several of us can share it, consequently, I'd prefer to stick to released code.

Thanks again!

- Langley

Offline

#4 2014-10-03 17:27:46

sascha
Administrator
Registered: 2012-05-04
Posts: 45

Re: Turning off "In AutoLoadModulesFromPath at..." messages

Offline

Board footer

Powered by FluxBB