How to print the log when running the script

Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail:
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem:
DocumentBuilder version: 7.4
Installation method:
OS: CENTOS

I send a post api as below , and then , how to check the output log.

https://docbuilder.com/docbuilder

body:
{

"async": false,

"url": "fileUrl",

"argument": {

    "key2": "key222"

}

}

Hello @Jaxine

Unfortunately, there is no way to render the log in the request or the script itself. If there was an issue, you can find information about it in logs of Document Server. They are located in:

  • Windows: C:\Program Files\ONLYOFFICE\DocumentServer\Log\
  • Linux: /var/log/onlyoffice/documentserver/ (same path inside Docker container).

Note that information above is related to the usage of Document Builder that comes in the Document Server package via POST request.
If you are using a stand-alone version, the message will be rendered into the console/terminal.