[Pogamut-list] Logging and Map Viewer not working
michal.bida
pogamut-forum at diana.ms.mff.cuni.cz
Mon Feb 21 20:17:54 CET 2011
Re: Logging and Map Viewer not working
Author: michal.bida
Hi!
This code in botInitialized method sets the log level to severe + it tells the logger to post the logs also to console (so you will see it in NetBeans/Eclipse output window - could be handy)
{CODE()}
bot.getLogger().setLevel(Level.SEVERE);
bot.getLogger().addDefaultConsoleHandler();
{CODE}
Considering the user logs. User log is for the users - for you - to log some debug information or etc. Type this code to logic() method.
{CODE()}
user.severe("LOGIC!");
{CODE}
New message should appear in the user log each logic tick.
Considering the 3D map issue. Two things: 1) Check if you have installed 32Bit version of Java (with 64Bit there are issues). 2) Check that you have your Netbeans 6.9.1 updated to latest version (click Help -> Check for updates). Tell me if this helps.
Best,
Michal
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=2&comments_reply_threadId=2&comments_parentId=577&post_reply=1#form>
More information about the Pogamut-list
mailing list