gs.info or gs.debug or gs.error is not logging any messages in system logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 03:38 AM
Hello Everyone,
Am trying to create a UI Action and to check if my code is working I logged gs.info() messages at few points as my UI action is on detections table which is in scoped application. When I tried to execute the UI Action it is logging Kafka topics error in the system logs. So I eliminated the whole code and just tried to log gs.info message and I still see the below kafka topics error.
I tried added gs.addInfoMessage in the same UI Action and it is perfectly working not sure why it is the issue with gs.info().
com.glide.hermes.client.glide.util.HermesStatusUtil.throwIfUnavailable(HermesStatusUtil.java:44)
com.glide.hermes.client.glide.util.HermesStatusUtil.throwIfUnavailable(HermesStatusUtil.java:50)
com.glide.hermes.client.glide.GlideHermesTopicManager.getDefaultTopicLocation(GlideHermesTopicManager.java:173)
com.snc.clotho.kafka.KafkaTopicDAO.fetchKafkaTopics(KafkaTopicDAO.java:46)
com.snc.clotho.kafka.ClothoKafkaTopicPublisher.publishTopics(ClothoKafkaTopicPublisher.java:52)
com.snc.clotho.kafka.ClothoKafkaTopicPublisher.run(ClothoKafkaTopicPublisher.java:43)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 04:24 AM
@Niharika20 Could you please share the source code of your UI Action with gs.info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 04:33 AM
Hello Sandeep,
Thanks for looking into it. Here is the screenshot, we're trying with just a gs.debug or gs.info.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 05:49 AM
@Niharika20 There is nothing wrong with your UI Action. The Kafka logs which you are seeing is a known issue. Similar issue has been raised by a fellow community member here https://www.servicenow.com/community/sysadmin-forum/unable-to-process-clotho-kafka-topics/m-p/251653....