Page MenuHomePhabricator

us::AutoLoadModulesFromPath Prints logging messages before main()
Closed, ResolvedPublic

Description

us::AutoLoadModulesFromPath prints messages like "In AutoLoadModulesFromPath at ... Auto-loading module ..." before main(). This breaks Command Line Modules and also means the user does not have a chance to select where the output goes with mbilog::RegisterBackend.

Event Timeline

Current release is finished. Resetting target milestone

After looking at it, we concluded to remove all messages during static initialization of the CppMicroServices library and provide the related information using some other means.

A related bug for customizing the log level is T17992.

Sounds gut. Is this finished, can we close the bug?

No, changes are not integrated yet.

Updating target milestone to upcoming release

For me this is now working, running Command Lines Modules now works and i don't see any additional output any more. I think we can close this bug !?