dd-trace-rb
dd-trace-rb copied to clipboard
support `DD_TRACE_LOG_FILE_LEVEL`, `DD_TRACE_LOG_FILE`, `DD_TRACE_FILE_SIZE_BYTES` env variables (like dd-trace-py)
Is your feature request related to a problem? Please describe.
The dd-trace-py
library supports the following options/env variables, which should be duplicated in dd-trace-rb
-
DD_TRACE_LOG_FILE_LEVEL
-
DD_TRACE_LOG_FILE
-
DD_TRACE_FILE_SIZE_BYTES
https://github.com/DataDog/dd-trace-py/pull/3214
Additional context
I understand that this is a very new feature in dd-trace-py
, I just wanted to confirm that this feature would eventually be rolled out to dd-trace-rb
👋, @AnalogJ, thanks for bringing this up.
Feature parity is important. We'll talk to our team to see where this feature lands in our roadmap.
Future reference for the implementer: Ruby's default logger class supports rotating logs. In particular, it supports breaking down the log file by a size limit (needed for the DD_TRACE_LOG_FILE_SIZE_BYTES
option).