cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
362
Views
10
Helpful
2
Replies

In Finesse 12.6 ClientLog.log is not working

rk06
Level 1
Level 1

Hi Community users,

 Recently upgraded finesse from 11.6 to 12.6 and then facing issue with a custom gadget, this gadget is hosted on a IIS webserver and have a "gadgets.io.makeRequest(url, response, params)" method written inside to send some call info to a PHP page for some DB insertion, it is working fine on 11.6 Finesse but after upgrade it has stopped to do the DB insertions, the URL to make request has been upgraded to HTTPS but still it is not working. To debug when I tried to put clientLogs.log it is not writing anything in log, even Console.log is not working and not able to see anything in Browser. Any help in this will be highly appreciated.

using following method for client logs

var clientLogs = finesse.cslogger.ClientLogger;
clientLogs.init(gadgets.Hub, "Test");

clientLogs.log("This is a  message for Gadget"); // it is never printing

Thanks

 

1 Accepted Solution

Accepted Solutions

pk88
Spotlight
Spotlight

Hello,

Try Restarting your finesse or Tomcat, it should help in printing the logs. Regarding your custom gadget, try splitting the code into basic structure and then add complexity into it. Please share the console logs if you have issues.

Thanks

View solution in original post

2 Replies 2

pk88
Spotlight
Spotlight

Hello,

Try Restarting your finesse or Tomcat, it should help in printing the logs. Regarding your custom gadget, try splitting the code into basic structure and then add complexity into it. Please share the console logs if you have issues.

Thanks

rk06
Level 1
Level 1

Restarting Finesse Tomcat has helped to resolve this issue for now, but do I need to clear cache on server side or start  Tomcat if any modification is done in the custom gadget. FYI using ?nocache  has not helped.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: