<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue Jun 18 04:34:07 UTC 2013

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 add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/DBAL-436/DBAL-436.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DBAL-436] Logger should specify connection used in a master/slave situation</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-436</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Suppose there is a master connection with four slaves specified. Connections are being handled by the Doctrine\DBAL\Connections\MasterSlaveConnection class. Under the current implementation, all queries are logged under the &quot;master&quot; connection, even queries that are routed to the slaves by the Doctrine\DBAL\Connections\MasterSlaveConnection class.&lt;/p&gt;

&lt;p&gt;Since slave connections are separate, distinct connections, queries should be logged appropriately under their respective connections.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14440">DBAL-436</key>
            <summary>Logger should specify connection used in a master/slave situation</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="jarrod">Jarrod Nettles</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Jan 2013 22:47:28 +0000</created>
                <updated>Mon, 1 Apr 2013 16:34:12 +0000</updated>
                    <resolved>Mon, 1 Apr 2013 16:34:12 +0000</resolved>
                            <version>2.3.2</version>
                                <fixVersion>2.3.3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19918" author="beberlei" created="Mon, 1 Apr 2013 16:34:12 +0000"  >&lt;p&gt;Two reasons why this is not feasible:&lt;/p&gt;

&lt;p&gt;1. We actually don&apos;t ship loggers on our own, so if you want you can implement this yourself. We wouldn&apos;t have a way to &quot;add&quot; this, we only provide the interface.&lt;/p&gt;

&lt;p&gt;2. However the logger does not have access to the connection to find out which slave or master its currently using, you can create a logger that has a &quot;setConnection($conn)&quot; method and call this during bootstrapping the logger+connection.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>