web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
FastTrack for Dynamics 365 forum
Answered

Tracing , How to use it

(1) ShareShare
ReportReport
Posted on by
Tracing have to use it , should we trace all the work? and should we keep on sql parameter 
I have the same question (0)
  • Verified answer
    Muhammad Shahzad Shafique Profile Picture
    2,739 Most Valuable Professional on at

    Use tracing only where it provides diagnostic value—not for every line of code.

    • Trace key execution points: method entry/exit, important business logic, API calls, exceptions, and decision branches.
    • Avoid excessive tracing: it impacts performance and makes logs difficult to analyze.
    • SQL parameters: Do not trace SQL parameter values in production, especially if they contain sensitive or personal data. Log parameter names or counts if needed, and enable detailed parameter logging only temporarily for debugging in a secure environment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > FastTrack for Dynamics 365

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 14 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 8 Super User 2026 Season 1

#3
Hamza H Profile Picture

Hamza H 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans