gs.info or gs.debug or gs.error is not logging any messages in system logs.

Niharika20
Tera Expert

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().

 

Unable to process clotho Kafka topics
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)
 
Your suggestion will be highly appreciated.
 
3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@Niharika20 Could you please share the source code of your UI Action with gs.info.

Niharika20
Tera Expert

Hello Sandeep,

 

Thanks for looking into it. Here is the screenshot, we're trying with just a gs.debug or gs.info.

Niharika20_0-1684409532128.png

 

@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....