-
Notifications
You must be signed in to change notification settings - Fork 731
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
Improve log message written by selfdiagnostics to file. #4219
Improve log message written by selfdiagnostics to file. #4219
Conversation
@@ -30,7 +30,7 @@ namespace OpenTelemetry.Internal | |||
/// </summary> | |||
internal class SelfDiagnosticsConfigRefresher : IDisposable | |||
{ | |||
public static readonly byte[] MessageOnNewFile = Encoding.UTF8.GetBytes("Successfully opened file.\n"); | |||
public static readonly byte[] MessageOnNewFile = Encoding.UTF8.GetBytes("If you are seeing this message, it means that the OpenTelemetry SDK has successfully created the log file used to write self-diagnostic logs. This file will be appended with logs as they appear. If you see this line, but nothing more, try changing the the LogLevel to show logs of lower severities.\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are seeing this message, it means that the OpenTelemetry SDK has successfully created the log file
^ this was suggested by AI :)
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4219 +/- ##
==========================================
- Coverage 85.57% 85.53% -0.05%
==========================================
Files 291 291
Lines 11398 11398
==========================================
- Hits 9754 9749 -5
- Misses 1644 1649 +5
|
No product change, but a useful improvement to the opening message. Merging for 1.4 |
Fixes #4218
Related : Azure/azure-sdk-for-net#34483