Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1275

Provide a way to enable client tracing without changing the application

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.3.1, 10.2.1.6
    • 10.3.1.4
    • Network Client
    • None
    • Normal

    Description

      Currently the client tracing can be enabled by setting attributes on the client url, setXXX methods on the DataSource or calling DriverManager.setLogWriter(), but it often cannot be enabled in a deployed client application because all of these API's require modification of the application or its configuration files.

      It would be good to have a global way to turn on client tracing. A system property pointing to a property file is one possibility but probably not ideal because of the impact in class loader contexts. I am not sure what the other possiblities are,

      Attachments

        1. DERBY1275EnableClientTracingDiffV1.txt
          4 kB
          Mamta A. Satoor
        2. DERBY1275EnableClientTracingDiffV2.txt
          16 kB
          Mamta A. Satoor
        3. DERBY1275EnableClientTracingDiffV3.txt
          17 kB
          Mamta A. Satoor
        4. DERBY1275EnableClientTracingDiffV4.txt
          16 kB
          Mamta A. Satoor
        5. DERBY1275EnableClientTracingDiffV5.txt
          15 kB
          Mamta A. Satoor
        6. DERBY1275EnableClientTracingStatV1.txt
          0.3 kB
          Mamta A. Satoor
        7. DERBY1275EnableClientTracingStatV2.txt
          0.5 kB
          Mamta A. Satoor
        8. DERBY1275EnableClientTracingStatV3.txt
          0.5 kB
          Mamta A. Satoor
        9. DERBY1275EnableClientTracingStatV4.txt
          0.5 kB
          Mamta A. Satoor
        10. DERBY1275EnableClientTracingStatV5.txt
          0.5 kB
          Mamta A. Satoor

        Issue Links

          Activity

            People

              mamtas Mamta A. Satoor
              kmarsden Katherine Marsden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: