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 622997 - Use environment variables for showing debug messages
Use environment variables for showing debug messages
Status: RESOLVED FIXED
Product: libpeas
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: libpeas-maint
libpeas-maint
Depends on:
Blocks:
 
 
Reported: 2010-06-28 03:38 UTC by Garrett Regier
Modified: 2010-07-01 22:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use enviroment variables for showing debug messages (14.66 KB, patch)
2010-06-28 03:39 UTC, Garrett Regier
rejected Details | Review
Show debugging log messages only when PEAS_DEBUG is set (4.30 KB, patch)
2010-06-28 17:03 UTC, Garrett Regier
committed Details | Review

Description Garrett Regier 2010-06-28 03:38:29 UTC
The debug messages are not always needed, gedit and others have this ability.
Comment 1 Garrett Regier 2010-06-28 03:39:31 UTC
Created attachment 164779 [details] [review]
Use enviroment variables for showing debug messages
Comment 2 Garrett Regier 2010-06-28 17:03:30 UTC
Created attachment 164825 [details] [review]
Show debugging log messages only when PEAS_DEBUG is set

If PEAS_DEBUG is set then the handler is set for the DEBUG log level. This handler simple discard the messages.
Comment 3 Steve Frécinaux 2010-07-01 22:55:27 UTC
Attachment 164825 [details] pushed as 48c847c - Show debugging log messages only when PEAS_DEBUG is set