GNOME Bugzilla – Bug 764237
Set G_LOG_DOMAIN to OSTree
Last modified: 2016-03-26 18:27:01 UTC
This will allow OSTree applications to filter messages appropriately without having to specify the NULL domain.
Created attachment 324797 [details] [review] build: Set G_LOG_DOMAIN to OSTree This will allow ostree programs to filter log messages specifically for OSTree instead of using the NULL domain for ostree debugging.
Created attachment 324798 [details] [review] main: Set log handler for OSTree domain Now that OSTree is used as G_LOG_DOMAIN, set the main handler to match so the appropriate messages are filtered. It would probably be more appropriate to spell out "OSTree" in the code, but since G_LOG_DOMAIN is being defined globally in the project, might as well reuse it here.
Review of attachment 324797 [details] [review]: LGTM
Review of attachment 324798 [details] [review]: I'd prefer squashing this with the previous commit.
https://github.com/ostreedev/ostree/pull/225 Nevermind re squashing, this does make sense separate.
Thanks for the patches!