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

setting tracedirectory from the command line does not work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.4.2.0, 10.5.1.1
    • Fix Version/s: 10.4.2.0, 10.5.1.1
    • Component/s: Network Server
    • Labels:
      None
    • Issue & fix info:
      Newcomer

      Description

      I tried
      java org.apache.derby.drda.NetworkServerControl tracedirectory /tmp
      and got:
      Trace directory changed to /tmp.

      java org.apache.derby.drda.NetworkServerControl trace on
      Trace turned on for all sessions.
      Trace turned on for all sessions.

      And the trace output was not redirected to the /tmp directory. The tracedirectory command seemed to be ignored.

      Setting tracedirectory with the system property derby.drda.traceDirectory or with the NetworkServerControl api seems to work ok.

        Attachments

        1. derby-3708_10.3_nocommit.txt
          3 kB
          Katherine Marsden
        2. DERBY-3708_diff.txt
          4 kB
          Katherine Marsden

          Activity

            People

            • Assignee:
              kmarsden Katherine Marsden
              Reporter:
              kmarsden Katherine Marsden
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: