You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will pickup the default location of MCP server config file. It can also be passed in the `args` section above as `"--config-file", "<custom config file>"` after `run`
229
233
234
+
# Logging
235
+
236
+
The Dremio MCP server automatically writes log files to platform-specific directories following operating system conventions. This helps with troubleshooting and monitoring the server's operation.
237
+
238
+
## Log File Locations
239
+
240
+
The log files are stored in the following locations based on your operating system:
By default, the MCP server logs to the logfile mentioned above. To control it further, you can use the following environment variables and command line options:
260
+
261
+
1.**Use JSON format**: `JSON_LOGGING=1` or pass `--enable-json-logging` for structured JSON logs
262
+
2.**Disable file logging**: pass `--no-log-to-file` to disable writing logs to file
263
+
264
+
Example:
265
+
```shell
266
+
$ uv run dremio-mcp-server run --no-log-to-file --enable-json-logging
267
+
268
+
# OR
269
+
270
+
$ uv run dremio-mcp-server run --enable-json-logging
271
+
```
272
+
273
+
The log directory is automatically created if it doesn't exist, so no manual setup is required.
274
+
230
275
# Further Documentation
231
276
232
277
1.[Architecture](docs/architecture.md): Detailed overview of the Dremio MCP server architecture, including component interactions and data flows.
0 commit comments