private FileChannel openFileChannel(Path file) {
        Path directory = file.getParent();
        if (directory != null) {
            try {
                Files.createDirectories(directory);
            } catch (IOException e) {
                throw new InputOutputException(
                        "Failed to create the directory ("
                                + directory
                                + ") for log files",
                        e);
            }
        }
        try {
            return FileChannel.open(file, APPEND_OPTIONS);
        } catch (IOException e) {
            throw new InputOutputException(
                    "Failed to open the file: "
                            + file,
                    e);
        }
    }
Don't add {@link StandardOpenOption#READ} because READ + APPEND isn't allowed
turms-server-common/src/main/java/im/turms/server/common/infra/logging/core/appender/file/RollingFileAppender.java