How to get log information to remote server while app running on device. Like how we get in log of java file using log4j?
5 Answers
There is a service developed just for it (our company just released it): http://apphance.com. It is not only for reporting crashes, but also for reporting logs of your application running on remote devices. It is a service, so you do not need to have a server of your own - you just integrate a .jar file (less than 5 minutes - we timed it). And you immediately start getting the logs which you can look at in the web panel of ours. These are:
- logs from standard logging
- changes in conditions of the device (rotation, wifi/gprs etc.)
- crashes
- memory warning
- your testers can also report issues directly from the device including screenshots (yay!)
Disclaimer: I am CTO of Polidea, company behind apphance.

- 19,317
- 2
- 60
- 61
@parag et al, Log Collector doesn't send the log (actually, open email chooser for you) in android 2.3.

- 230
- 2
- 3
- 15
There is a new project, which enables log4j on android. Using lo4gj over slf4j is possible. It also provides an appender for LogCat. See project android-logging-log4j or log4j support in android

- 1
- 1

- 213
- 2
- 6