[Pogamut-list] Persisting log files

jakub.gemrot pogamut-forum at artemis.ms.mff.cuni.cz
Thu Mar 5 12:16:18 CET 2009


Re: Persisting log files

Author: jakub.gemrot

Hello, welcome to forum!

Yes there is a way but unfortunatelly you have to "code" it for yourself. There is no thing like "save all logs" in the IDE.

The agent is using several Logger instances (java.util.logging) they should be accessible from the Agent class (Main.java file that extends Agent). All you have to do is add your own handler that will write log records to file. For simple log formatting use SimpleFormatter.

I'm sorry I'm not at home near my comp, so I can't guide you more precisly.

Let me know whether you've found the logs if not I will provide more details.

Cheers!

Jakub





More information about the Pogamut-list mailing list