2

在使用atlas-runatlassian-plugin-sdk 中的(自定义 maven)时,您将看到以 为前缀的应用程序输出[INFO] [talledLocalContainer],如下所示:

[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:.

这会干扰我的终端,该终端配置了突出显示错误和警告(基于正则表达式),我想找到一种运行它的方法,而无需看到不太有用的前缀。

4

1 回答 1

2

您可以使用该-q选项来关闭[INFO]Maven 中的线路。

否则,您可以尝试通过类似这样的方式传递命令...

sed "s/\[INFO\] \[talledLocalContainer\] //"
于 2012-11-28T06:47:14.850 回答