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_CONSOLE
variable is uncommented and set toyes
, then theDREMIO_LOG_DIR
variable will be ignored and garbage collection logs will only send to the console.
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.