Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-824

[GH-535] added backtrace to query logging

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of dmecke:

      Url: https://github.com/doctrine/dbal/pull/535

      Message:

      I've added a stacktrace to each logged query to be able to display it later on. This can help to find out why a query has been executed.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-535] was closed:
        https://github.com/doctrine/dbal/pull/535

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-535] was closed: https://github.com/doctrine/dbal/pull/535
        Hide
        Guilherme Blanco added a comment -

        You can create your own Logger for this support.
        Adding this have resources usage implication and therefore cannot be blindly added.
        I also see a potential serialization issue depending on the driver used to log this information.

        Closing as won't fix.

        Show
        Guilherme Blanco added a comment - You can create your own Logger for this support. Adding this have resources usage implication and therefore cannot be blindly added. I also see a potential serialization issue depending on the driver used to log this information. Closing as won't fix.
        Hide
        Marco Pivetta added a comment -

        Fixed resolution status

        Show
        Marco Pivetta added a comment - Fixed resolution status

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: