It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to suppress logging from Kepler Custom Fields for getLastComment(issuekey) routine

We have both JJupin/SIL and Kepler custom fields (KCF).  This involves the use of KCF.  We used a routine published on the Kepler-rominfo website created by Felix Martineau of TechSolCom:  which provide a method for obtaining the Last Comment and as a custom field and using it on view screen or gadget or navigator.  This part works well for us and here's the code:

string[] lastCommentDetails = getLastComment(key);
return userFullName(lastCommentDetails["author"]) + ": " + lastCommentDetails["text"];
return "";


What is happening is each time a navigator search is completed with the "Last Comment" field included as a column we now see this in the log for each issue without a comment:

2015-01-02 14:30:09,403 http-bio-8080-exec-4 WARN <ID> 870x193620x2 2j3g06 <IP> /rest/issueNav/1/issueTable [commons.ivm.routines.GetLastCommentRoutine] No comments for issue TS-3314
2015-01-02 14:30:09,414 http-bio-8080-exec-4 WARN <ID> 870x193620x2 2j3g06 <IP>  /rest/issueNav/1/issueTable [commons.ivm.routines.GetLastCommentRoutine] No comments for issue TS-3314

Our thought was to attempt to suppress this WARN by first checking if a comment existed on the issue by using getComment() and just returning from the code if this returned Null, but that does not seem to work. 


I should mention we have NOT turned on logging for Kepler in nor any other SIL logging.

Any help is appreciated as this is filling up our logs and making it difficult to debug other issues.

1 answer

1 accepted

1 vote
Answer accepted

Hi Craig,


You can set the log level on error for the package 'com.keplerrominfo' in the Logging & Profiling page. This way the warn messages will not be shown. We will change the log level for this one on debug in a future(next?) release.


Best regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Off-topic

Atlassian Community Guide to A+ Articles

Stop: Articles and permission Article-writing permissions are given to Leaders, Marketplace Vendors, Solutions Partners, Atlassian Team members, and those who are Level 4 + above. But for any aspir...

86 views 9 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you