Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv580

Modified Files:
        recordserver.py webserver.py 
Log Message:
Remove the request logging for 0-level debug. Exceptions will still be
logged, but standard requests will not.

(i.e. this removes the Apache-style access logging for DEBUG = 0)



Index: webserver.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/webserver.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** webserver.py        9 Jan 2004 18:57:06 -0000       1.9
--- webserver.py        9 Jul 2004 16:20:54 -0000       1.10
***************
*** 12,15 ****
--- 12,21 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.10  2004/07/09 16:20:54  outlyer
+ # Remove the request logging for 0-level debug. Exceptions will still be
+ # logged, but standard requests will not.
+ #
+ # (i.e. this removes the Apache-style access logging for DEBUG = 0)
+ #
  # Revision 1.9  2004/01/09 18:57:06  dischi
  # stop on normal exit
***************
*** 102,106 ****
      root.putChild('vhost', vhost.VHostMonsterResource())
      rewriter =  rewrite.RewriterResource(root, helpimagesrewrite)
!     site = server.Site(rewriter)
      
      application = app.Application('web')
--- 108,115 ----
      root.putChild('vhost', vhost.VHostMonsterResource())
      rewriter =  rewrite.RewriterResource(root, helpimagesrewrite)
!     if (config.DEBUG == 0):
!         site = server.Site(rewriter, logPath='/dev/null')
!     else:
!         site = server.Site(rewriter)
      
      application = app.Application('web')

Index: recordserver.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/recordserver.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** recordserver.py     9 Jul 2004 11:19:21 -0000       1.52
--- recordserver.py     9 Jul 2004 16:20:54 -0000       1.53
***************
*** 7,10 ****
--- 7,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.53  2004/07/09 16:20:54  outlyer
+ # Remove the request logging for 0-level debug. Exceptions will still be
+ # logged, but standard requests will not.
+ #
+ # (i.e. this removes the Apache-style access logging for DEBUG = 0)
+ #
  # Revision 1.52  2004/07/09 11:19:21  dischi
  # fix unicode crash
***************
*** 949,953 ****
      app = Application("RecordServer")
      rs = RecordServer()
!     app.listenTCP(config.TV_RECORD_SERVER_PORT, server.Site(rs))
      rs.startMinuteCheck()
      rc_object.subscribe(rs.eventNotice)
--- 955,962 ----
      app = Application("RecordServer")
      rs = RecordServer()
!     if (config.DEBUG == 0):
!         app.listenTCP(config.TV_RECORD_SERVER_PORT, server.Site(rs, 
logPath='/dev/null'))
!     else:
!         app.listenTCP(config.TV_RECORD_SERVER_PORT, server.Site(rs))
      rs.startMinuteCheck()
      rc_object.subscribe(rs.eventNotice)



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to