繁体   English   中英

如何在浏览器中过滤Java Applet Console的输出?

[英]How to filter output of Java Applet Console in browser?

我正在尝试在浏览器中调试我的applet,并且已启用Java控制台。

基本上,对于每个班级,都会打印以下两个消息。 我想摆脱它。

network: Cache entry not found [url: http://localhost/applet/org/jboss/netty/channel/ChannelFutureListener$2.class, version: null]
network: Connecting http://localhost/applet/org/jboss/netty/channel/ChannelFutureListener$2.class with proxy=DIRECT

当然,我可以复制粘贴,保存在文件中,然后应用过滤器等等。 有没有办法禁用这些消息以完全打印到控制台?

这似乎是唯一的机会,我忽略了


c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

0-5: set trace level to <n>可以过滤所有网络消息

http://docs.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/tracing_logging.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM