Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiler creates empty log file when global newrelic.config is not found #3014

Closed
tippmar-nr opened this issue Mar 3, 2025 · 1 comment · Fixed by #3015
Closed

Profiler creates empty log file when global newrelic.config is not found #3014

tippmar-nr opened this issue Mar 3, 2025 · 1 comment · Fixed by #3015
Labels
bug Something isn't working

Comments

@tippmar-nr
Copy link
Member

Description
If the "global" newrelic.config file is not found in the expected location (NEW_RELIC_HOME), the profiler correctly unloads but fails to log the error, producing only a profiler log file with no content.

Expected Behavior
The profiler log file should clearly indicate that the newrelic.config file was not found.

Steps to Reproduce

  • Delete or rename the newrelic.config file in the NEW_RELIC_HOME folder
  • Start an instrumented application
  • Note that the profiler log file (NewRelic.Profiler.99999.log) is created, but is empty.

For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1,P2,P3,P4,P5):
P2
Suggested T-Shirt size (S, M, L, XL, Unknown):
S

@tippmar-nr tippmar-nr added the bug Something isn't working label Mar 3, 2025
@workato-integration
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant