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:
- Create new Log and PID directories. For example: /var/log/dremio and /var/run/dremio.
- 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_CONSOLEvariable is uncommented and set toyes, then theDREMIO_LOG_DIRvariable will be ignored and garbage collection logs will only send to the console.