Is it possible to tune atlassian-sdk to not display the [INFO] [talledLocalContainer] prefix in the console messages?

StackOverflow https://stackoverflow.com/questions/13517694

Question

While using atlas-run (customized maven) from atlassian-plugin-sdk you will see the application output prefixed by [INFO] [talledLocalContainer], like below:

[INFO] [talledLocalContainer] Tomcat 6.x starting...
[INFO] [talledLocalContainer] Nov 22, 2012 4:17:28 PM org.apache.catalina.core.AprLifecycleListener init
[INFO] [talledLocalContainer] INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/sorins/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.

This interferes with my terminal which is configured the highlight errors and warnings (based on regexp) and I want to find a way of running this without having the see the not-so-useful prefix.

Was it helpful?

Solution

You can use the -q option to turn off [INFO] lines in Maven.

Otherwise, you could try piping the command through something like this...

sed "s/\[INFO\] \[talledLocalContainer\] //"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top