--mongosh-log-file

Last updated: April 30, 2026

Log file for Mongo shell output.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Global CLI parameter

--mongosh-log-file=<string>

Liquibase properties file (defaults file)

liquibase.mongosh.logFile: <string>

Global flow file argument (example)

globalArgs: { mongosh-log-file: "<string>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.mongosh.logFile=<string>

Liquibase environment variable

LIQUIBASE_MONGOSH_LOG_FILE=<string>