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, createFrom, restoreFrom, or rollForwardRecoveryFrom.
jdbc:derby:newDB;create=true;logDevice=d:/newDBlog