Skip to content

Commit dbdccd2

Browse files
Update content/en/tracing/troubleshooting/tracer_debug_logs.md
Co-authored-by: Kyle Verhoog <kyle@verhoog.ca>
1 parent 4ebd8f1 commit dbdccd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/tracing/troubleshooting/tracer_debug_logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The steps for enabling debug mode Datadog Python Tracer, depends on which versio
3636

3737
1. Set the `DD_TRACE_DEBUG` environment variable to `true` to enable debug mode.
3838

39-
2. To route debug logs to a log file, set `DD_TRACE_LOG_FILE` with a filename that tracer logs should be written to, for example, `DD_TRACE_LOG_FILE=ddtrace_logs.log`.
39+
2. To route debug logs to a log file, set `DD_TRACE_LOG_FILE` with a filename that tracer logs should be written to, relative to the current working directory. For example, `DD_TRACE_LOG_FILE=ddtrace_logs.log`.
4040
By default, the file size is 15728640 bytes (about 15MB) and one backup log file is created. To increase the default log file size, specify the size in bytes with the `DD_TRACE_LOG_FILE_SIZE_BYTES` setting.
4141

4242
3. To route logs to the console, for **Python 2** applications, configure `logging.basicConfig()` or similar. Logs are automatically sent to the console for **Python 3** applications.

0 commit comments

Comments
 (0)