<?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>108502</bug_id>
          
          <creation_ts>2013-01-31 10:57:14 -0800</creation_ts>
          <short_desc>Lack of a log level string should not obliterate compiled in logging channel state</short_desc>
          <delta_ts>2013-01-31 11:09:41 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit API</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Brady Eidson">beidson</reporter>
          <assigned_to name="Brady Eidson">beidson</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>821683</commentid>
    <comment_count>0</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2013-01-31 10:57:14 -0800</bug_when>
    <thetext>Lack of a log level string should not obliterate compiled in logging channel state</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>821688</commentid>
    <comment_count>1</comment_count>
      <attachid>185814</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2013-01-31 10:58:40 -0800</bug_when>
    <thetext>Created attachment 185814
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>821692</commentid>
    <comment_count>2</comment_count>
      <attachid>185814</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-01-31 11:02:38 -0800</bug_when>
    <thetext>Comment on attachment 185814
Patch v1

View in context: https://bugs.webkit.org/attachment.cgi?id=185814&amp;action=review

rs=me if you do this consistently everywhere, not just in WebKit2.

WebCore already has this behavior, so this leaves us with WebKit1. But WebCore&apos;s code looks different, so you can consider replacing one of the versions with a copy/paste.

&gt; Source/WebKit2/ChangeLog:9
&gt; +        (WebKit::initializeLogChannel): If there&apos;s no log level string, level the channel state alone.

Autocorrection: leave.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>821714</commentid>
    <comment_count>3</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2013-01-31 11:09:41 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/141447</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>185814</attachid>
            <date>2013-01-31 10:58:40 -0800</date>
            <delta_ts>2013-01-31 11:02:38 -0800</delta_ts>
            <desc>Patch v1</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1614</size>
            <attacher name="Brady Eidson">beidson</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCBiNjlhZTdhLi4zOWE5YTM4IDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViS2l0
Mi9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMg
QEAKKzIwMTMtMDEtMzEgIEJyYWR5IEVpZHNvbiAgPGJlaWRzb25AYXBwbGUuY29tPgorCisgICAg
ICAgIExhY2sgb2YgYSBsb2cgbGV2ZWwgc3RyaW5nIHNob3VsZCBub3Qgb2JsaXRlcmF0ZSBjb21w
aWxlZCBpbiBsb2dnaW5nIGNoYW5uZWwgc3RhdGUuCisgICAgICAgIGh0dHBzOi8vYnVncy53Z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ZW4gZG9uJ3QgY2hhbmdlIHRoZSBs
b2dnaW5nIGNoYW5uZWwgYXQgYWxsLgogICAgIE5TU3RyaW5nICpsb2dMZXZlbFN0cmluZyA9IFtb
TlNVc2VyRGVmYXVsdHMgc3RhbmRhcmRVc2VyRGVmYXVsdHNdIG9iamVjdEZvcktleTpbTlNTdHJp
bmcgc3RyaW5nV2l0aFVURjhTdHJpbmc6Y2hhbm5lbC0+ZGVmYXVsdE5hbWVdXTsKICAgICBpZiAo
IWxvZ0xldmVsU3RyaW5nKQogICAgICAgICByZXR1cm47Ci0gICAgICAgIAorCisgICAgY2hhbm5l
bC0+c3RhdGUgPSBXVEZMb2dDaGFubmVsT2ZmOworCiAgICAgdW5zaWduZWQgbG9nTGV2ZWw7CiAg
ICAgaWYgKCFbW05TU2Nhbm5lciBzY2FubmVyV2l0aFN0cmluZzpsb2dMZXZlbFN0cmluZ10gc2Nh
bkhleEludDombG9nTGV2ZWxdKQogICAgICAgICBOU0xvZyhAInVuYWJsZSB0byBwYXJzZSBoZXgg
dmFsdWUgZm9yICVzICglQCksIGxvZ2dpbmcgaXMgb2ZmIiwgY2hhbm5lbC0+ZGVmYXVsdE5hbWUs
IGxvZ0xldmVsU3RyaW5nKTsK
</data>
<flag name="review"
          id="205030"
          type_id="1"
          status="+"
          setter="sam"
    />
    <flag name="commit-queue"
          id="205033"
          type_id="3"
          status="-"
          setter="ap"
    />
          </attachment>
      

    </bug>

</bugzilla>