[Pogamut-list] Log output

jacob.schrum pogamut-forum at diana.ms.mff.cuni.cz
Sat Feb 5 07:37:18 CET 2011


Re: Log output

Author: jacob.schrum

This does stop the bot from logging, but it doesn't stop the logs of everything else. I'm running multiple servers and multiple bots, and the main reason I want to get rid of it all is that it hides my own output which I use to actually find out what's going on.

However, I found my own method of dealing with the problem that I'd like to share: I use the NetBeans plugin and run my code from NetBeans. In the output window you can right-click to get a menu. If you choose "Filter" and check "Regular Expression", then the following regex can be used to filter log messages of different types:

^(?!.*(\[INFO\]|\[ALL\]|\[WARNING\])).*$

This filters INFO, ALL and WARNING log messages. The nice thing is that you can turn the filter off to get the log info back if you need it for some reason.

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=562&post_reply=1#form>





More information about the Pogamut-list mailing list