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

Trace logging for stack rewrite is very noisy #2141

Closed
Mpdreamz opened this issue Jul 25, 2023 · 0 comments
Closed

Trace logging for stack rewrite is very noisy #2141

Mpdreamz opened this issue Jul 25, 2023 · 0 comments
Labels
agent-dotnet bug Something isn't working

Comments

@Mpdreamz
Copy link
Member

e.g:

[2023-07-25 09:30:42.545 +00:00][4][Trace] - transform stack frames
 [2023-07-25 09:30:42.549 +00:00][4][Trace] - End, 481
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - <get_ActivityStopped>b__10_0, 194
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - <NotifyActivityStop>b__25_0, 0
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - EnumWithAction, 0
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - NotifyActivityStop, 0
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - Stop, 0
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - Dispose, 0
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - CommandStop, 0
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - TraceCommandStop, 0
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - Dispose, 0
 [2023-07-25 09:30:42.551 +00:00][4][Trace] - Dispose, 0
 [2023-07-25 09:30:42.560 +00:00][4][Trace] - ExecuteNonQuery, 0
 [2023-07-25 09:30:42.560 +00:00][4][Trace] - Start, 0
 [2023-07-25 09:30:42.560 +00:00][4][Trace] - ExecuteNonQuery, 0
 [2023-07-25 09:30:42.560 +00:00][4][Trace] - ExecuteNonQuery, 23
 [2023-07-25 09:30:42.560 +00:00][4][Trace] - Elastic.Apm.AdoNet.NetStandard.IDbCommandExecutor.ExecuteNonQuery, 35
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - <RunAsync>b__1, 188
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - ExecutionContextCallback, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - MoveNext x 1, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - RunOrScheduleAction, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - RunContinuations, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - FinishContinuations, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - TrySetResult, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - CompleteTimedOut, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - TimerCallback, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - CallCallback, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - Fire, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - FireNextTimers, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - System.Threading.IThreadPoolWorkItem.Execute, 0
 [2023-07-25 09:30:42.561 +00:00][4][Trace] - Dispatch, 0
 [2023-07-25 09:30:42.562 +00:00][4][Trace] - WorkerThreadStart, 0
 [2023-07-25 09:30:42.562 +00:00][4][Trace] - StartCallback, 0

Ideally this should only log over trace if we see an Exception.

@Mpdreamz Mpdreamz added the bug Something isn't working label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-dotnet bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant