一个普通的 java 命令行执行程序,会使用 httpcliet 推送东西,然后终端满屏的 DEBUG 打印,包括传输的数据。 求助下怎么关掉这些打印。
17:55:37.785 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "[\r][\n]"
17:55:37.785 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "[0xb6][0xd4][0xd3][0xda][0xb7][0xa2][0xcb][0xcd][0xcf][0xfb][0xcf][0xa2][0xa3][0xba][0xce][0xd2][0xc3][0xc7][0xd2][0xbb][0xb0][0xe3][0xbf][0xc9][0xd2][0xd4][0xca][0xb9][0xd3][0xc3] RabbitTemplate[0xa3][0xac][0xd5][0xe2][0xb8][0xf6][0xca][0xc7] Spring [0xb7][0xe2][0xd7][0xb0][0xb8][0xf8][0xc1][0xcb][0xce][0xd2][0xc3][0xc7][0xa3][0xac][0xb1][0xe3][0xd3][0xda][0xce][0xd2][0xc3][0xc7][0xb7][0xa2][0xcb][0xcd][0xd0][0xc5][0xcf][0xa2][0xa3][0xac][0xce][0xd2][0xc3][0xc7][0xb5][0xf7][0xd3][0xc3] rabbitTemplate.convertAndSend("spring-boot", xxx); [0xbc][0xb4][0xbf][0xc9][0xb7][0xa2][0xcb][0xcd][0xd0][0xc5][0xcf][0xa2][0xa1][0xa3][\r][\n]"
17:55:37.785 [main] DEBUG org.apache.http.wire - http-outgoing-2 >> "[0xb6][0xd4][0xd3][0xda][0xbd][0xbb][0xbb][0xbb][0xbb][0xfa][0xb6][0xd3][0xc1][0xd0][0xa3][0xba][0xc8][0xe7][0xc9][0xcf][0xb4][0xfa][0xc2][0xeb][0xa3][0xac][0xce][0xd2][0xc3][0xc7][0xd0][0xe8][0xd2][0xaa][0xc5][0xe4][0xd6][0xc3][0xbd][0xbb][0xbb][0xbb][0xbb][0xfa] TopicExchange[0xa3][0xac][0xc5][0xe4][0xd6][0xc3][0xb6][0xd3][0xc1][0xd0] Queue[0xa3][0xac][0xb2][0xa2][0xc7][0xd2][0xc5][0xe4][0xd6][0xc3][0xcb][0xfb
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.