Skip to content

Commit

Permalink
Update content/en/tracing/troubleshooting/tracer_debug_logs.md
Browse files Browse the repository at this point in the history
Co-authored-by: Kari Halsted <[email protected]>
  • Loading branch information
wantsui and kayayarai authored Dec 12, 2023
1 parent 4d56557 commit 9f97d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/tracing/troubleshooting/tracer_debug_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The steps for enabling debug mode in the Datadog Python Tracer depends on the ve
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`.
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.

**Note:** If the application uses the root logger and changes log level to `DEBUG`, this will also enable debug tracer logs. To override this behavior, you can override the `ddtrace` logger. Example below:
**Note:** If the application uses the root logger and changes log level to `DEBUG`, debug tracer logs are enabled. If you want to override this behavior, override the `ddtrace` logger as follows:

```
import logging
Expand Down

0 comments on commit 9f97d10

Please sign in to comment.