rygel r676 - trunk/src/rygel



Author: zeeshanak
Date: Sun Mar 15 19:02:39 2009
New Revision: 676
URL: http://svn.gnome.org/viewvc/rygel?rev=676&view=rev

Log:
Print URI and method for each request on debug console.

Modified:
   trunk/src/rygel/rygel-http-request.vala
   trunk/src/rygel/rygel-http-server.vala

Modified: trunk/src/rygel/rygel-http-request.vala
==============================================================================
--- trunk/src/rygel/rygel-http-request.vala	(original)
+++ trunk/src/rygel/rygel-http-request.vala	Sun Mar 15 19:02:39 2009
@@ -84,11 +84,6 @@
             return;
         }
 
-        print ("request for %s\n", this.item_id);
-        if (this.transcode_target != null) {
-            print ("transcoding\n");
-        }
-
         // Fetch the requested item
         this.root_container.find_object (this.item_id,
                                          null,

Modified: trunk/src/rygel/rygel-http-server.vala
==============================================================================
--- trunk/src/rygel/rygel-http-server.vala	(original)
+++ trunk/src/rygel/rygel-http-server.vala	Sun Mar 15 19:02:39 2009
@@ -140,6 +140,10 @@
                                  string                    server_path,
                                  HashTable<string,string>? query,
                                  Soup.ClientContext        soup_client) {
+        debug ("HTTP %s request for URI: %s",
+               msg.method,
+               msg.get_uri ().to_string (false));
+
         var request = new HTTPRequest (this.root_container, server, msg, query);
 
         request.completed += this.on_request_completed;



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