Where can we view logInfo() for Web Applications ? | Community
Skip to main content
Level 2
January 29, 2024
Solved

Where can we view logInfo() for Web Applications ?

  • January 29, 2024
  • 2 replies
  • 2063 views

Hi Team,

 

I am trying to print the values for all the variables in a web application. However, I do not see the logInfo("sample_text") printed in the Audit tab or in the debug mode of Preview tab.

Can anyone please help me understand where I could find these logs?

 

Kind Regards,

Anushka

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by AnushkaRajan

Hi @sukrity_wadhwa,

 

I still don't see the logs in the web.log file. But it could also be an access level restriction (which I'm not aware of) that isn't allowing me to view those logs.

 

Kind Regards,

Anushka RK

 

2 replies

Manoj_Kumar
Community Advisor
Community Advisor
January 29, 2024

Hello @anushka_rk 

 

logInfo will capture the logs in the web.log file. You can see this data in the Monitoring tab outside on the light ui.

 

Alternatively, you can use console.log to print anything in the console.

Manoj  | https://themartech.pro
Level 2
January 29, 2024

Hi @_manoj_kumar_ ,

 

Thank you for your quick response.

I checked all the web process log files under Monitoring Tab. However, I do not see the logs printed there.

I was wondering if you could share a screenshot of an example? TYIA

 

Kind Regards,

Anushka R

 

Manoj_Kumar
Community Advisor
Community Advisor
January 29, 2024

Hello @anushka_rk 

 

Here is the screenshot from my test.

 

Note: In the dates select the start date = yesterday's date

Manoj  | https://themartech.pro
Sukrity_Wadhwa
Community Manager
Community Manager
March 8, 2024

Hi @anushka_rk,

Were you able to resolve this query with the given solution? Do let us know.

Thanks!

Sukrity Wadhwa
AnushkaRajan
AnushkaRajanAccepted solution
Level 2
March 13, 2024

Hi @sukrity_wadhwa,

 

I still don't see the logs in the web.log file. But it could also be an access level restriction (which I'm not aware of) that isn't allowing me to view those logs.

 

Kind Regards,

Anushka RK

 

Sukrity_Wadhwa
Community Manager
Community Manager
March 13, 2024

Thanks for sharing that @anushkarajan!

Sukrity Wadhwa