Aspose disable conversionlog.xml when convertinf from pdf to PDF_A_1A

Hi, i am using aspose-pdf to convert pdf files to pdf PDF_A_1A format. We need to disable the generation of conversionlog.xml in the process. Please provide support to disable conversionlog.xml?

public static byte[] covertToExtremePrintablePDF(byte[] byteArray, String logTrackingId) throws IOException {
    try(ByteArrayOutputStream extremePrintableOutputStream = new ByteArrayOutputStream();
        Document pdfInputStreamDocument = new Document(byteArray)) {
        pdfInputStreamDocument.convert(new PdfFormatConversionOptions(PdfFormat.PDF_A_1A));
        pdfInputStreamDocument.save(extremePrintableOutputStream);
        return extremePrintableOutputStream.toByteArray();
    }catch(Exception ex){
        log.error("Kingsley::Processing failed in covertToExtremePrintablePDF for logTrackingId::{} with Exception::{}", logTrackingId, ex);
        throw ex;
    }
}

@ramachandra1988
You can use the convert method as in the examples given in Convert PDF to PDF/A formats|Aspose.PDF for Java, but the first parameter is not the file name for the log, but the ByteArrayOutputStream.

We modified the above line to pass ByteArrayOutput stream
pdfInputStreamDocument.convert(new PdfFormatConversionOptions(extremePrintableOutputStream,PdfFormat.PDF_A_1A,ConvertErrorAction.Delete));
When we are trying to generate the file, it throws the following error:
THREAD_ID=http-nio-8443-exec-1, MESSAGE=InvalidFileFormatException::Incorrect file header, STACK_TRACE=]
com.aspose.pdf.internal.l10if.l0p.l0y(Unknown Source)
com.aspose.pdf.internal.l10if.l0p.(Unknown Source)
com.aspose.pdf.internal.l10if.l0p.(Unknown Source)
com.aspose.pdf.internal.l7h.lf.lI(Unknown Source)
com.aspose.pdf.internal.l10if.l0v.(Unknown Source)
com.aspose.pdf.internal.l7h.lf.lb(Unknown Source)
com.aspose.pdf.internal.l2t.l0p.lf(Unknown Source)
com.aspose.pdf.internal.l2t.l0p.(Unknown Source)
com.aspose.pdf.ADocument.lI(Unknown Source)
com.aspose.pdf.ADocument.(Unknown Source)
com.aspose.pdf.Document.(Unknown Source)
com.aspose.pdf.facades.APdfFileEditor.concatenate(Unknown Source)
com.aspose.pdf.facades.PdfFileEditor.concatenate(Unknown Source)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:568)

We also tried below option
PdfFormatConversionOptions ops = new PdfFormatConversionOptions(PdfFormat.PDF_A_1A);
ops.setOptimizeFileSize(true);
ops.setLowMemoryMode(true);
ops.setLogStream(extremePrintableOutputStream);
ops.setTransparencyAction(ConvertTransparencyAction.Mask);
pdfInputStreamDocument.convert(ops);

It throws the error
2024-07-17 12:05:17,972; [LOG_LEVEL=ERROR, LOG_MARKER=, with Exception::{}, STACK_TRACE=com.aspose.pdf.internal.ms.System.lv: Specified argument was out of the range of valid values.

@ramachandra1988
I will create a task for the development team

@ramachandra1988
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFJAVA-44126

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@sergei.shibanov any timeline on when we can get a response?

@ramachandra1988
Created tasks are solved in the order they are received, taking into account priorities.
The highest priority is for tasks with paid support, followed by tasks from users who have purchased a license.
The time it takes to solve problems can also vary. Therefore, unfortunately, it is not even possible to give ETA.

@sergei.shibanov any update on this request?

@ramachandra1988
Nothing new yet, unfortunately.