aspose file tools*
The moose likes Java Micro Edition and the fly likes Logging in Java ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Logging in Java ME" Watch "Logging in Java ME" New topic
Author

Logging in Java ME

Johan Karlsson
Greenhorn

Joined: Jan 07, 2005
Posts: 26
Hi,

Please take a look at the MicroLog project if you need logging support in Java ME. It is compatible with Log4j and it is possible to log to a RecordStore, a file or a Form.

Stay tuned for a new release coming up soon

http://sourceforge.net/projects/microlog/

Feedback is very welcome.

Best Regards
Johan Karlsson
Marcin Zduniak
Greenhorn

Joined: Jun 13, 2005
Posts: 15
If somebody wants to compare other logging frameworks here is the list of some of them: http://www.mobiledeveloper.pl/logowanie-zdarzen-w-aplikacjach-j2me-169.html (it is in Polish, but links are universal ;)

[ June 25, 2008: Message edited by: Marcin Zduniak ]
[ June 25, 2008: Message edited by: Marcin Zduniak ]

:: Marcin Zduniak<br />:: work: <a href="http://www.mobtechlab.com" target="_blank" rel="nofollow">Mobile Technology Lab</a><br />:: priv: <a href="http://www.zduniak.com" target="_blank" rel="nofollow">www.zduniak.com</a><br />:: hobby: <a href="http://www.j2me.pl" target="_blank" rel="nofollow">www.j2me.pl</a>
Johan Karlsson
Greenhorn

Joined: Jan 07, 2005
Posts: 26
Hi,

we have released a new version of Microlog. We now have a PatternFormatter that formats the logs the way you want it. It is inspired by the PatternLayout found in Log4j. We have also included a lot of new appenders.

From the projectpage:
"MicroLog is a small logging library for Java ME (J2ME) like Log4j. It has support for logging to console, file, RecordStore, Canvas, Form, Bluetooth, a serial port (Bluetooth, IR, USB), Socket(incl SSL), UDP, Syslog, MMS, SMS, e-mail or to Amazon S3."

Find out more at: http://sourceforge.net/projects/microlog/

BTW This is released under Apache License V2.0

Best Regards
Johan Karlsson
// Microlog admin & developer
Johan Karlsson
Greenhorn

Joined: Jan 07, 2005
Posts: 26
To Marcin Zduniak:

My polish is not very good, but I understand that you found it hard to configure Microlog. The configuration is now much simpler. Please try out the new version of Microlog.

If you have any more ways to simplyfy the setup, please provide me with feedback.

Best Regards
Johan Karlsson
// Microlog admin & developer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logging in Java ME