Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Jahnavi_B
New Member

Where does Diagnostic Trace gets saved in Power Query VS code

We are creating a custom connector and implemented a diagnostic log functions in Visual Studio Code but we are unable to trace those logging information and not sure where it is getting saved.

 

 Diagnostics.Trace(TraceLevel.Information, "Tenant Id is been saved", () => tenantId, true); as we used this diagnostic function, but unable to trace this log message in output panel of VS Code. We are not getting any kind of Error. Could u please let us know whether Diagnostic.Trace is supported in VS Code.
4 REPLIES 4
BL123456
Frequent Visitor

Run into the same issue, could anyone from the Microsoft team assist here?

v-xinruzhu-msft
Community Support
Community Support

Hi @Jahnavi_B 

You can refer to the following link, it offer the wherer can trace the log.

c# - Trace logs location, where to view them - Stack Overflow

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hii Yolo Zhu,

The above link which you have sent to refer is in C#, but we are using M language for our connector. Could u please help us on the same.

Jahnavi_B
New Member

Can someone please help me on this.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.