<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:03 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OPNFLWPLUG-283] Logging flow deletions despite log level set to ERROR</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-283</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;The following logs are being logged despite the log level is set to ERROR:&lt;/p&gt;

&lt;p&gt;2014-09-17 20:40:11,930 | INFO  | qtp103994434-447 | BrokerFacade                     | 167 - org.opendaylight.controller.sal-rest-connector - 1.1.0.SNAPSHOT | Delete CONFIGURATION via Restconf: /(urn:opendaylight:inventory?revision=2013-08-19)nodes/node/node[&lt;/p&gt;
{(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:7}
&lt;p&gt;]/AugmentationIdentifier&lt;/p&gt;
{childNames=[(urn:opendaylight:flow:inventory?revision=2013-08-19)manufacturer, (urn:opendaylight:flow:inventory?revision=2013-08-19)hardware, (urn:opendaylight:flow:inventory?revision=2013-08-19)software, (urn:opendaylight:flow:inventory?revision=2013-08-19)serial-number, (urn:opendaylight:flow:inventory?revision=2013-08-19)description, (urn:opendaylight:flow:inventory?revision=2013-08-19)meter, (urn:opendaylight:flow:inventory?revision=2013-08-19)table, (urn:opendaylight:flow:inventory?revision=2013-08-19)group, (urn:opendaylight:flow:inventory?revision=2013-08-19)ip-address, (urn:opendaylight:flow:inventory?revision=2013-08-19)supported-match-types, (urn:opendaylight:flow:inventory?revision=2013-08-19)supported-instructions, (urn:opendaylight:flow:inventory?revision=2013-08-19)supported-actions, (urn:opendaylight:flow:inventory?revision=2013-08-19)switch-features]}
&lt;p&gt;/(urn:opendaylight:flow:inventory?revision=2013-08-19)table/table[&lt;/p&gt;
{(urn:opendaylight:flow:inventory?revision=2013-08-19)id=0}
&lt;p&gt;]/flow/flow[&lt;/p&gt;
{(urn:opendaylight:flow:inventory?revision=2013-08-19)id=309999}
&lt;p&gt;]&lt;/p&gt;

&lt;p&gt;According to the log&apos;s header (and logic), this log should only appear if the log level is info.&lt;/p&gt;

&lt;p&gt;To reproduce, set all log levels in logback.xml to ERROR, start teh controller and run the attached performance python script with the following command line:&lt;/p&gt;

&lt;p&gt;&amp;gt;python flow_config_perf.py --nflows 1000 --nthreads=10&lt;/p&gt;

&lt;p&gt;mininet was not connected. This bug is affecting performance.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27551">OPNFLWPLUG-283</key>
            <summary>Logging flow deletions despite log level set to ERROR</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10001">Won&apos;t Do</resolution>
                                        <assignee username="jhajnar@cisco.com">Jan Hajnar</assignee>
                                    <reporter username="jmedved@cisco.com">Jan Medved</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Sep 2014 03:50:42 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:20 +0000</updated>
                            <resolved>Thu, 23 Oct 2014 10:10:44 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="56176" author="jmedved@cisco.com" created="Thu, 18 Sep 2014 03:50:42 +0000"  >&lt;p&gt;Attachment flow_config_perf.py has been added with description: Flow config script&lt;/p&gt;</comment>
                            <comment id="56172" author="tony.tkacik@gmail.com" created="Thu, 18 Sep 2014 10:03:29 +0000"  >&lt;p&gt;How did you modified logging configuration? There are several bug reports&lt;br/&gt;
pointing out that Karaf logging configuration does not work.&lt;/p&gt;</comment>
                            <comment id="56173" author="jhajnar@cisco.com" created="Thu, 18 Sep 2014 12:06:02 +0000"  >&lt;p&gt;To my knowledge, karaf does not load log config from logback.xml. &lt;/p&gt;

&lt;p&gt;It uses Pax Logging service and config file is located in etc/org.ops4j.pax.logging.cfg&lt;/p&gt;

&lt;p&gt;To change to error level globaly you should change line with &quot;log4j.rootLogger=INFO, out, osgi:&lt;b&gt;&quot; to &quot;log4j.rootLogger=ERROR, out, osgi:&lt;/b&gt;&quot;&lt;/p&gt;

&lt;p&gt;Also you can change level for individual loggers like: &lt;br/&gt;
log4j.logger.&amp;lt;package&amp;gt;=&amp;lt;DEBUG_LEVEL&amp;gt; i.e. log4j.logger.org.opendaylight=INFO&lt;/p&gt;

&lt;p&gt;maybe we could recreate setup from logback.xml in Pax Logging config file.&lt;/p&gt;

&lt;p&gt;also logging levels and loggers can be edited through karaf command line wit log:set command:&lt;br/&gt;
&lt;a href=&quot;http://karaf.apache.org/manual/latest-2.2.x/users-guide/logging-system.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://karaf.apache.org/manual/latest-2.2.x/users-guide/logging-system.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56174" author="hagbard@gmail.com" created="Thu, 18 Sep 2014 16:31:15 +0000"  >&lt;p&gt;&lt;a href=&quot;http://karaf.apache.org/manual/latest-2.2.x/users-guide/logging-system.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://karaf.apache.org/manual/latest-2.2.x/users-guide/logging-system.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="56175" author="hagbard@gmail.com" created="Thu, 18 Sep 2014 16:33:23 +0000"  >&lt;p&gt;Note the correct place for any changes to logging defaults would be here:&lt;/p&gt;

&lt;p&gt;controller/opendaylight/distribution/opendaylight-karaf-resources/src/main/resources&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13920" name="flow_config_perf.py" size="11572" author="jmedved@cisco.com" created="Thu, 18 Sep 2014 03:50:42 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1945</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=1945]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03073:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>