# derby.drda.traceDirectory property

Indicates the location of tracing files.

## Security Considerations

The Network Server will attempt to create the trace directory (and any parent directories) if they do not exist. This will require that the Java security policy for `derbynet.jar` permits verification of the existence of the named trace directory and all necessary parent directories. For each directory created, the policy must allow

    permission java.io.FilePermission "directory", "read,write";

and for the trace directory itself, the policy must allow

    permission java.io.FilePermission "tracedirectory${/}-", "write";

See "Configuring Java security" in the Derby Security Guide for information about customizing the Network Server's security policy.

## Syntax

    derby.drda.traceDirectory=traceFileDirectory

## Default

If the `derby.system.home` property has been set, it is the default. Otherwise, the default is the current directory.

## Example

    derby.drda.traceDirectory=c:/Derby/trace

## Static or dynamic

Dynamic. You can change system values by using commands after the Network Server has been started.

Parent topic: Setting Network Server properties
Related reference
derby.drda.host property
derby.drda.keepAlive property
derby.drda.logConnections property
derby.drda.maxThreads property
derby.drda.minThreads property
derby.drda.portNumber property
derby.drda.securityMechanism property
derby.drda.sslMode property
derby.drda.startNetworkServer property
derby.drda.streamOutBufferSize property
derby.drda.timeSlice property
derby.drda.traceAll property