[csw-devel] SF.net SVN: opencsw:[494] catalog_signatures/bin/http_gpg_daemon

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Jul 21 05:32:42 CEST 2011


Revision: 494
          http://opencsw.svn.sourceforge.net/opencsw/?rev=494&view=rev
Author:   bdwalton
Date:     2011-07-21 03:32:42 +0000 (Thu, 21 Jul 2011)

Log Message:
-----------
setup access logging if we pass --access-log

Signed-off-by: Ben Walton <bwalton at opencsw.org>

Modified Paths:
--------------
    catalog_signatures/bin/http_gpg_daemon

Modified: catalog_signatures/bin/http_gpg_daemon
===================================================================
--- catalog_signatures/bin/http_gpg_daemon	2011-07-21 03:32:22 UTC (rev 493)
+++ catalog_signatures/bin/http_gpg_daemon	2011-07-21 03:32:42 UTC (rev 494)
@@ -85,7 +85,9 @@
   exit 1
 end
 
-server = WEBrick::HTTPServer.new({ :Port => opts.port })
+server = WEBrick::HTTPServer.new({
+                                   :Port => opts.port,
+                                   :AccessLog => opts.log })
 
 # create a valid mount for each type of signature we'll return and for
 # each valid catalog path that we'll sign


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list