[f-spot] Sanitize debug output, add thread init note.



commit 7cb795d25b5cb18c9065fc60bd7c39f7da5bdc96
Author: Ruben Vermeersch <ruben savanne be>
Date:   Tue Jun 1 16:34:11 2010 +0200

    Sanitize debug output, add thread init note.

 src/ImageLoaderThread.cs |    1 +
 src/Imaging/JpegFile.cs  |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ImageLoaderThread.cs b/src/ImageLoaderThread.cs
index 6ce3f9a..407c8e0 100644
--- a/src/ImageLoaderThread.cs
+++ b/src/ImageLoaderThread.cs
@@ -205,6 +205,7 @@ public class ImageLoaderThread {
 	/* The worker thread's main function.  */
 	private void WorkerThread ()
 	{
+        Log.Debug (this.ToString (), "Worker starting");
 		try {
 			while (true) {
 				lock (processed_requests) {
diff --git a/src/Imaging/JpegFile.cs b/src/Imaging/JpegFile.cs
index 08f879b..f341ee0 100644
--- a/src/Imaging/JpegFile.cs
+++ b/src/Imaging/JpegFile.cs
@@ -277,7 +277,7 @@ namespace FSpot {
 				DirectoryEntry e = ExifHeader.Directory.Lookup (TagId.Orientation);
 				orientation = (PixbufOrientation)e.ValueAsLong [0];
 			} catch {
-				Log.Warning ("error checking orientation");
+				Log.Warning ("Error checking orientation", uri);
 			}
 #else						     
 Log.Debug (">>>");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]