Indeed! Thank a lot for advice Michael!
Seems my script is facing CORS error so now I know what's happening
Regards,
Szymon
------------------------------
Szymon Trocha
Poznań Supercomputing and Networking Center
Poznań
------------------------------
Original Message:
Sent: Thu April 18, 2024 02:47 AM
From: Michael Troitzsch
Subject: How do I debug script tools in Omnibus WebGUI?
Hi Szymon,
Javascript tools run in the browser - so there aren't any logs at the server side.
Try the browser's debugging function and/or use window.alert("xxx") to display something in an alert box.
When there are syntax errors, I often use an online JS syntax checker - you might have to modify the script when you use {} placeholders.
Good luck,
Michael
------------------------------
Michael Troitzsch
Solution Architect
DICOS GmbH
Darmstadt
Original Message:
Sent: Wed April 17, 2024 04:44 AM
From: Szymon Trocha
Subject: How do I debug script tools in Omnibus WebGUI?
Hi,
I'm working on creating JavaScript-based script tools in Omnibus WebGUI (https://www.ibm.com/docs/en/netcoolomnibus/8.1?topic=tools-script-tool-examples). I would like to see some logging when launching the tools as things are not working properly but can't figure out which logs contain such data.
What is the way to configure some debug logging for script tools in WebGUI and which logs from the wide set of logs are responsible to contain such logging.
Documenation doesn't help here at all
regards,
Szymon
------------------------------
Szymon Trocha
Poznań Supercomputing and Networking Center
Poznań
------------------------------