Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

ITracingService does not log anything in Dynamics CRM On-Premise CRM

Posted on by 210

Hi CRM Folks, 

I'm currently working on one of the Dynamics CE V 8.2 On-Premise customer who has the custom activity/ workflow which is triggered by the java script.

I added ITracingService in piece of code and deployed using plugin registration tool.

ITracingService tracingService = executionContext.GetExtension<ITracingService>();

racingService.Trace("Test"+parameter1)

And also, I check it in plug in trace log section under settings after execution, it does not log anything. I was not able to check what input parameter values are getting passed onto custom workflow. 

I do not know what I'm doing wrong here. Please advise

  • Suganthar_Satkunam Profile Picture
    Suganthar_Satkunam 210 on at
    RE: ITracingService does not log anything in Dynamics CRM On-Premise CRM

    Isolation Mode is None. I tried it using the Sanbox Mode, I do get the security exception message

  • Verified answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: ITracingService does not log anything in Dynamics CRM On-Premise CRM

    for some reason the trace log will not work if you do not run you plugin within sandbox isolation mode.

    crmchap.co.uk/.../

  • meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: ITracingService does not log anything in Dynamics CRM On-Premise CRM

    Hey,

    what is your isolation mode ? 

  • Suganthar_Satkunam Profile Picture
    Suganthar_Satkunam 210 on at
    RE: ITracingService does not log anything in Dynamics CRM On-Premise CRM

    That setting is already set to All

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: ITracingService does not log anything in Dynamics CRM On-Premise CRM

    Hello,

    Please verify if Enable logging to plug-in trace log is set to All.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans