Forum Discussion

srinivaskiranp's avatar
7 years ago

Debugging and Logging

Hi 

Can i get a guidance on the below queries. 

1.)  How to debugging while development in community using sdk and studio. 

2.) How to configure logs and access the logs in dev and stage environment. 

2.) Which file the utils.logs uses to log the info and how we can access it in different environments.   

regards,

Srini.p

6 Replies

  • srinivaskiranp,

    1. This documentation will help you to to debug problems in plugins points during upload your files from SDK.

    2. To troubleshoot probelms and errors in SDK of your project you can take help of this document.

    3.  There is no such kind of file utils.logs to maintain log in SDK.

     

  • srinivaskiranp's avatar
    srinivaskiranp
    Guide
    7 years ago

    3.  There is no such kind of file utils.logs to maintain log in SDK.

    I found in Developer documentation a freemarker context object called "Utils" in that "Logger" is a instance is used for printing the debug information in the Logs. I need the inforamtion related to it, 

    1.) where do i can get logs created by Utils object  ?

     2.) how do we get access to it to different environments like Dev, stage,live etc ? 

  • Parshant's avatar
    Parshant
    Boss
    7 years ago

    You can see audit logs in https://<your_communty_url>/t5/bizapps/bizappspage/tab/community%3Aadmin%3Amoderatortools%3Aaudit-logs

  • srinivaskiranp's avatar
    srinivaskiranp
    Guide
    7 years ago

    My question is not about audit logs, It is about Util.logs which is used in the components fro debugging purpose. 

    Where can i see the debug info printed in the logs, which is created by Utils.log