Skip to main content
Version: current [25.x]

Configuring Logs and PID Location

This topic describes how to customize the location of the Dremio log and PID files using Dremio environment variables. Configuration is accomplished via the dremio-env file.

To customize where the logs and PID information are written:

  1. Create new Log and PID directories. For example: /var/log/dremio and /var/run/dremio.
  2. In the dremio-env file, uncomment the Log and PID variables and provide the new location. For example:
DREMIO_LOG_DIR=/var/log/dremio
DREMIO_PID_DIR=/var/run/dremio
note

If the DREMIO_GC_LOG_TO_CONSOLE variable is uncommented and set to yes, then the DREMIO_LOG_DIR variable will be ignored and garbage collection logs will only send to the console.