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
{{ message }}
Repository navigation
Splunk SDK should not overwrite the environment except perhaps in its own SPLUNK_* namespace #185
I guess I should add, in case it wasn't clear, that this isn't just an academic concern. The splunk sdk overwrote the LOG_LEVEL environment variable in our application, and caused us a lot of lost time trying to track down and troubleshoot the issue. Of course now we have added a workaround in our code, where we specifically have to use a different environment variable name only in cases where we are using the splunk sdk, but this should have never been a requirement, and it both would simplify our code as well as minimize future confusion for others if this issue could be addressed in the splunk sdk.
Activity
ctranstrum commentedon Feb 18, 2025
I guess I should add, in case it wasn't clear, that this isn't just an academic concern. The splunk sdk overwrote the LOG_LEVEL environment variable in our application, and caused us a lot of lost time trying to track down and troubleshoot the issue. Of course now we have added a workaround in our code, where we specifically have to use a different environment variable name only in cases where we are using the splunk sdk, but this should have never been a requirement, and it both would simplify our code as well as minimize future confusion for others if this issue could be addressed in the splunk sdk.