Derby
  1. Derby
  2. DERBY-5051

Update the docs to include the additional information available in derby.log. This information will be useful from product supportability stand point

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.8.1.2
    • Component/s: Documentation
    • Labels:
      None

      Description

      With DERBY-4853, we log additional information in derby.log to make it easier for the support group to work with customer problems.

      Following 2 additional properties will now always be put in derby.log (every time a database is booted)
      user.dir
      derby.system.home

      user.dir is the system property which gives the user working directory.

      If the user has not specified derby,system.home, then Derby will look for optional derby.properties file in user.dir . If user has provided derby.system.home, then the optional derby.properties will be looked in derby.system.home rather than user.dir

      If user has not provided derby.system.home, then a sample of the 2 properties on derby.log looks as follows on my machine
      user.dir=C:\p4clients\svnmain\client2\trunk\systest\out142
      derby.system.home=null

      If user has set derby.system.home to c:./temp, then a sample of the 2 properties on derby.log looks as follows on my machine
      user.dir=C:\p4clients\svnmain\client2\trunk\systest\out142
      derby.system.home=c:/temp

      In addition to the above 2 properties, there can be following 3 optional properties in the log (following the 2 properties mentioned above)
      derby.stream.error.file
      derby.stream.error.method
      derby.stream.error.field

      The above 3 properties provide a way to alter where error messages get logged rather than tranditional derby.log file. In the absence of the above 3 optional properties, the location of derby.log follows the same logic as derby.properties. But if the user has set any or all of the 3 optional properties, then derby.log will not be in same location as derby.properties. In the Derby code, derby.stream.error.file takes precedence over the other 2 properties and derby.stream.error.method take precedence over the last property.

      1. DERBY-5051-2.zip
        10 kB
        Kim Haase
      2. DERBY-5051-2.stat
        0.1 kB
        Kim Haase
      3. DERBY-5051-2.diff
        4 kB
        Kim Haase
      4. DERBY-5051.zip
        26 kB
        Kim Haase
      5. DERBY-5051.stat
        0.4 kB
        Kim Haase
      6. DERBY-5051.diff
        20 kB
        Kim Haase

        Issue Links

          Activity

          Mamta A. Satoor created issue -
          Mamta A. Satoor made changes -
          Field Original Value New Value
          Link This issue relates to DERBY-4853 [ DERBY-4853 ]
          Kim Haase made changes -
          Assignee Kim Haase [ chaase3 ]
          Knut Anders Hatlen made changes -
          Link This issue is related to DERBY-5086 [ DERBY-5086 ]
          Kim Haase made changes -
          Attachment DERBY-5051.diff [ 12472550 ]
          Attachment DERBY-5051.stat [ 12472551 ]
          Attachment DERBY-5051.zip [ 12472552 ]
          Kim Haase made changes -
          Issue & fix info [Patch Available]
          Kim Haase made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Issue & fix info [Patch Available]
          Fix Version/s 10.8.0.0 [ 12315561 ]
          Resolution Fixed [ 1 ]
          Kim Haase made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Kim Haase made changes -
          Attachment DERBY-5051-2.diff [ 12473014 ]
          Attachment DERBY-5051-2.stat [ 12473015 ]
          Attachment DERBY-5051-2.zip [ 12473016 ]
          Kim Haase made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Rick Hillegas made changes -
          Affects Version/s 10.8.1.1 [ 12316356 ]
          Affects Version/s 10.8.1.0 [ 12315561 ]
          Fix Version/s 10.8.1.1 [ 12316356 ]
          Fix Version/s 10.8.1.0 [ 12315561 ]
          Rick Hillegas made changes -
          Affects Version/s 10.8.1.2 [ 12316362 ]
          Affects Version/s 10.8.1.1 [ 12316356 ]
          Fix Version/s 10.8.1.2 [ 12316362 ]
          Fix Version/s 10.8.1.1 [ 12316356 ]
          Mamta A. Satoor made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Workflow jira [ 12599271 ] Default workflow, editable Closed status [ 12800943 ]

            People

            • Assignee:
              Kim Haase
              Reporter:
              Mamta A. Satoor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development