<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>39614</bug_id>
          
          <creation_ts>2010-05-24 13:38:51 -0700</creation_ts>
          <short_desc>autoinstall DEBUG logging is too chatty</short_desc>
          <delta_ts>2010-05-24 14:10:34 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>cjerdonek</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>229880</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-05-24 13:38:51 -0700</bug_when>
    <thetext>autoinstall DEBUG logging is too chatty

I don&apos;t need this much information:

webkitpy.common.system.autoinstall: [DEBUG] Checking ClientForm.py URL downloaded...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;/Projects/WebKit/WebKitTools/Scripts/webkitpy/thirdparty/autoinstalled/clientform/.ClientForm.py.url&quot;
webkitpy.common.system.autoinstall: [DEBUG] URL for ClientForm.py already downloaded.  Skipping...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;http://pypi.python.org/packages/source/C/ClientForm/ClientForm-0.2.10.zip&quot;
webkitpy.common.system.autoinstall: [DEBUG] Checking mechanize URL downloaded...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;/Projects/WebKit/WebKitTools/Scripts/webkitpy/thirdparty/autoinstalled/.mechanize.url&quot;
webkitpy.common.system.autoinstall: [DEBUG] URL for mechanize already downloaded.  Skipping...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;http://pypi.python.org/packages/source/m/mechanize/mechanize-0.1.11.zip&quot;
webkitpy.common.system.autoinstall: [DEBUG] Checking pep8.py URL downloaded...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;/Projects/WebKit/WebKitTools/Scripts/webkitpy/thirdparty/autoinstalled/.pep8.py.url&quot;
webkitpy.common.system.autoinstall: [DEBUG] URL for pep8.py already downloaded.  Skipping...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;http://pypi.python.org/packages/source/p/pep8/pep8-0.5.0.tar.gz#md5=512a818af9979290cd619cce8e9c2e2b&quot;
webkitpy.common.system.autoinstall: [DEBUG] Checking upload.py URL downloaded...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;/Projects/WebKit/WebKitTools/Scripts/webkitpy/thirdparty/autoinstalled/rietveld/.upload.py.url&quot;
webkitpy.common.system.autoinstall: [DEBUG] URL for upload.py already downloaded.  Skipping...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;http://webkit-rietveld.googlecode.com/svn/trunk/static/upload.py&quot;
webkitpy.common.system.autoinstall: [DEBUG] Checking irclib.py URL downloaded...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;/Projects/WebKit/WebKitTools/Scripts/webkitpy/thirdparty/autoinstalled/irc/.irclib.py.url&quot;
webkitpy.common.system.autoinstall: [DEBUG] URL for irclib.py already downloaded.  Skipping...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;http://iweb.dl.sourceforge.net/project/python-irclib/python-irclib/0.4.8/python-irclib-0.4.8.zip&quot;
webkitpy.common.system.autoinstall: [DEBUG] Checking ircbot.py URL downloaded...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;/Projects/WebKit/WebKitTools/Scripts/webkitpy/thirdparty/autoinstalled/irc/.ircbot.py.url&quot;
webkitpy.common.system.autoinstall: [DEBUG] URL for ircbot.py already downloaded.  Skipping...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;http://iweb.dl.sourceforge.net/project/python-irclib/python-irclib/0.4.8/python-irclib-0.4.8.zip&quot;
webkitpy.common.system.autoinstall: [DEBUG] Checking mod_pywebsocket URL downloaded...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;/Projects/WebKit/WebKitTools/Scripts/webkitpy/thirdparty/autoinstalled/pywebsocket/.mod_pywebsocket.url&quot;
webkitpy.common.system.autoinstall: [DEBUG] URL for mod_pywebsocket already downloaded.  Skipping...
webkitpy.common.system.autoinstall: [DEBUG]     &quot;http://pywebsocket.googlecode.com/files/mod_pywebsocket-0.5.tar.gz&quot;

This appears when running wekbit-patch --verbose.  Maybe I should make --verbose do differnet logging?  Or maybe we shouldn&apos;t be trying to load all those different autoinstalled urls?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>229883</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Jerdonek">cjerdonek</who>
    <bug_when>2010-05-24 13:43:28 -0700</bug_when>
    <thetext>These types of messages are actually really good for debugging autoinstall.

Python&apos;s logging module is highly configurable.  Rather than changing autoinstall&apos;s code, the way to handle this type of issue is to be more fine-grained when configuring logging from other applications.  For example, you can use filters to disable autoinstall logging or to disable autoinstall logging below a certain level.  I.e. make the DEBUG apply to anything but autoinstall.

Let me see if I can dig up an example of filtering inside webkitpy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>229888</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Jerdonek">cjerdonek</who>
    <bug_when>2010-05-24 13:49:00 -0700</bug_when>
    <thetext>Check out this code which filters out autoinstall logging:

http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/test-webkitpy?rev=56981#L87

I believe the webkitpy configure_logging() function you call at the beginning of webkit-patch accepts a filter parameter to add filters that the caller wants added.  If it doesn&apos;t, a parameter like that should probably be added.

Make sure you only filter autoinstall logging for DEBUG or below though -- I think the INFO messages are good to keep.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>229898</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Jerdonek">cjerdonek</who>
    <bug_when>2010-05-24 14:10:34 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Or maybe we shouldn&apos;t be trying to load all those different autoinstalled urls?

This report would address the above aspect of things:

https://bugs.webkit.org/show_bug.cgi?id=39223</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>