[Pogamut-list] Logging and Map Viewer not working
michal.bida
pogamut-forum at diana.ms.mff.cuni.cz
Tue Feb 22 00:30:57 CET 2011
Re: Logging and Map Viewer not working
Author: michal.bida
There are several log levels that create a hierarchy. For example, when you set log level to INFO then log levels FINE or FINER won't be displayed. The hierarchy is something like SEVERE, WARNING, INFO, FINE, FINER... Setting log level to SEVERE means that all "lower" log levels won't be displayed.
Considering the Java - do you need that 64Bit Java version for something? If not, I recommend to uninstall it - it could resolve the issue, if not then there is some other caveat. From the info you've posted I cannot tell whether you have 32 or 64 Bit java active.
Considering saving log to a file - that easy. Add something like this to botInitialized():
{CODE()}
bot.getLogger().addDefaultFileHandler(new File("LOG_" + System.currentTimeMillis() + ".txt" ));
{CODE}
This will save your log to file named "LOG_CURRENT_TIME_IN_MS.txt"
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