AgentLifeCycleAdapter::messageLogged
Hi!
I'm wondering if it's possible to discard a message directed to the log somehow? I am currently hooked into the messageLogged() callback, but I haven't found a way to discard any of the incomming messages.
/Johan
Please sign in to leave a comment.
Hi Johan
We would like to better understand your business goal behind this question.
Could you explain what kind of plugin are you developing.
Thanks
Hi,
I'm building a plugin that will allow you to tag certain lines as "important" (ie, errors or warnings). It works fine, but now each message that has changed priority gets duplicated.
/Johan
What build runner are you customizing? Can you control emitted messages directly? If so, you could modify them with our service message markup.
Michael
Hi,
The idea is to use it as a generic way of tagging output from a command line runner ((that does not have teamcity support/is not really prudent about using stderr) == a lot of stuff)
You'll configure the plugin by adding regular expressions for tagging 'important' output.
/Johan
hi Johan,
At the moment we don't have such feature, but this request is filed in TW-14870, please vote.
Michael