The logDirectoryPath specifies the path to the directory on which to store the database log during database creation or restore. Even if specified as a relative path, the logDirectoryPath is stored internally as an absolute path.
Use in conjunction with create=true, createFrom, restoreFrom, or rollFowardRecoveryFrom.
jdbc:derby:newDB;create=true;logDevice=d:/newDBlog