After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 608048 - Move logger setup to after the profile is loaded
Move logger setup to after the profile is loaded
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: miscellaneous
unspecified
Other All
: Normal normal
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-25 17:12 UTC by Jonathon Jongsma
Modified: 2010-01-27 17:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Move logger setup to after the profile is loaded (1.69 KB, patch)
2010-01-25 17:12 UTC, Jonathon Jongsma
accepted-commit_now Details | Review

Description Jonathon Jongsma 2010-01-25 17:12:22 UTC
Debug logging for libmapi was failing because it was being called too early.
Comment 1 Jonathon Jongsma 2010-01-25 17:12:23 UTC
Created attachment 152244 [details] [review]
Move logger setup to after the profile is loaded

The calls to SetMAPIDumpData() and SetMAPIDebugLevel() will fail if called
before the global mapi context is set up.  These calls were being made too
early, so they were failing.  Moving them after MAPIInitialize() fixes the debug
output.
Comment 2 Johnny Jacob 2010-01-27 06:15:29 UTC
Comment on attachment 152244 [details] [review]
Move logger setup to after the profile is loaded

Thanks. Green light.
Comment 3 Jonathon Jongsma 2010-01-27 17:24:28 UTC
thanks¸committed.