script console output 2 duplicated entry for one log

Bo Liu December 29, 2021

 

It's really strange that our Jira script console started to output 2 entries for one log, can you advice any clue how this is happening and the possible way to fix? thanks

for example, I just simply log.warn "hi", it output:

2021-12-30 04:47:16,107 WARN [runner.ScriptBindingsManager]: hi
2021-12-30 04:47:16,107 WARN [runner.ScriptBindingsManager]: hiscriptConsole.png

1 answer

1 accepted

2 votes
Answer accepted
Vishwas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2021
Bo Liu December 29, 2021

thanks. adding log.setAdditivity(false) does fix the duplicated entry, but it's still mistery why this is happening.

Suggest an answer

Log in or Sign up to answer