Giter Site home page Giter Site logo

catsaver's Introduction

CatSaver

log screenshot

CatSaver is an Android service that automatically saves logcat. It also provides an HTTP server that allows developer to save and download logcat data without adb-connecting to the device. This is useful when:

  • you want to test without attaching the cable, but want to retain the logs when it crashes unexpectedly
  • you want to quickly obtain the crash log but another developer has adb-connected to the device
  • you want to download a nicely-formatted crash log without including irrelevant information spewed by the system

index screenshot

Installation

  1. Download and install the APK

  2. Start the CatSaver app on the device. The log collector and HTTP server should start automatically.

  3. It is possible that the app does not have necessary permission to take logs. In this case, run the following from shell:

     adb shell pm grant hihex.cs android.permission.READ_LOGS
    
  4. Visit http://192.168.x.x:47689/ to get the logs.

CatSaver vs ACRA

CatSaver is an independent logcat dumping tool for development and testing, while ACRA is library to collect crash log after the app is released.

  • CatSaver can save JNI logs.
  • CatSaver doesn't need your app to be configured before using.
  • ACRA can give you the crash log from a user you don't have access.
  • ACRA doesn't need you to grant special permission to an app to work.

Todo

  • Proper testing with coverage

License

CatSaver is licensed in GPLv3 or later.

catsaver's People

Contributors

kennytm avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.