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 539570 - Usefull general debug messages for MetaDataServiceJob.cs
Usefull general debug messages for MetaDataServiceJob.cs
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: Metadata
git master
Other Linux
: Normal enhancement
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-22 10:08 UTC by Peter de Kraker
Modified: 2008-07-20 20:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
General Start/End marker debug message for every MetaData Provider (1.04 KB, patch)
2008-06-22 10:09 UTC, Peter de Kraker
none Details | Review
General Start/End marker debug message for every MetaData Provider - fixed spacing (1.07 KB, patch)
2008-06-22 10:12 UTC, Peter de Kraker
none Details | Review
General Start/End marker debug message for every MetaData Provider rev3 (1.46 KB, patch)
2008-06-24 18:04 UTC, Peter de Kraker
none Details | Review
MetadataServiceJob_LogDebug.console_output (4.55 KB, text/plain)
2008-06-24 18:05 UTC, Peter de Kraker
  Details
General Start/End marker debug message for every MetaData Provider rev4 (1.32 KB, patch)
2008-06-24 18:25 UTC, Peter de Kraker
rejected Details | Review
MetadataServiceJob_LogDebug.console_output for rev4 (2.43 KB, text/plain)
2008-06-24 18:25 UTC, Peter de Kraker
  Details

Description Peter de Kraker 2008-06-22 10:08:03 UTC
This patch adds a general start/stop marking debug message for every MetaData Provider.Makes it a lot easier to track origin of bugs if they are caused by such a Provider.
Comment 1 Peter de Kraker 2008-06-22 10:09:00 UTC
Created attachment 113191 [details] [review]
General Start/End marker debug message for every MetaData Provider
Comment 2 Peter de Kraker 2008-06-22 10:12:39 UTC
Created attachment 113192 [details] [review]
General Start/End marker debug message for every MetaData Provider - fixed spacing

fixed spacing issue due to auto using tabs instead of 4 spaces.
Comment 3 Peter de Kraker 2008-06-24 18:04:03 UTC
Created attachment 113352 [details] [review]
General Start/End marker debug message for every MetaData Provider rev3

Tweaked it some more, is now much more pleasant to look at / in use, console-output wise.

See example for generated output.
Comment 4 Peter de Kraker 2008-06-24 18:05:57 UTC
Created attachment 113353 [details]
MetadataServiceJob_LogDebug.console_output 

Example of console output from rev3 of this patch.
Comment 5 Peter de Kraker 2008-06-24 18:25:19 UTC
Created attachment 113357 [details] [review]
General Start/End marker debug message for every MetaData Provider rev4

Ok, next time I will wait a week before entering a patch, printing it out and filling my walls with the code to stare on, since I always seem to mess it up...
Comment 6 Peter de Kraker 2008-06-24 18:25:51 UTC
Created attachment 113358 [details]
MetadataServiceJob_LogDebug.console_output for rev4
Comment 7 Bertrand Lorentz 2008-07-18 13:38:43 UTC
Small nitpicking : I think the Log.Debug("") line should be removed.
Having an empty line in the log just seems strange.
Comment 8 Peter de Kraker 2008-07-18 14:11:49 UTC
@betrand: It's the only way to keep it a bit clean in the log. Since while importing it will generate 7+ debuginfo lines for every album, which results in a enormous list that is very hard to read fast. With the empty line, it is much more readable, and therefore very easy to find out what went wrong where.

Check out the "MetadataServiceJob_LogDebug.console_output for rev4" for what I mean: that's very readable.
Comment 9 Gabriel Burt 2008-07-20 20:55:08 UTC
This is a little too verbose - we want to keep the debug output actually usable.