Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7.5, 7.3
    • Component/s: Database
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The SQL requests generated by MyBatis contain a lot of whitespaces. That makes TRACE logs hard to read. Only a single whitespace should be kept, for example :

      • Before
        2018.07.26 16:29:48 TRACE ce[AWTW_uS-i2WaojmdJdW8][sql] time=0ms | sql=SELECT     p.id, p.organization_uuid as organizationUuid,                                  p.uuid as uuid,                     p.uuid_path as uuidPath,                         p.project_uuid as projectUuid                                                                  FROM projects p                            where                             p.kee=? | params=foo
        
      • After
        2018.07.26 16:29:48 TRACE ce[AWTW_uS-i2WaojmdJdW8][sql] time=0ms | sql=SELECT p.id, p.organization_uuid as organizationUuid, p.uuid as uuid, p.uuid_path as uuidPath, p.project_uuid as projectUuid FROM projects p where p.kee=? | params=foo
        

        Attachments

          Activity

            People

            • Assignee:
              simon.brandhof Simon Brandhof
              Reporter:
              simon.brandhof Simon Brandhof
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: