Giter VIP home page Giter VIP logo

Comments (2)

Krocar avatar Krocar commented on September 28, 2024 1

Hello @minminlittleshrimp ,
Thank you for addressing my concerns. I have also stored the Android System log using the offline logstorage method. I will try the methods you have provided one by one.
Lastly, please allow me to express my gratitude to the DLT team. Thank you!

from dlt-daemon.

minminlittleshrimp avatar minminlittleshrimp commented on September 28, 2024

Hello @Krocar,
Thanks for raising your concern about DLT on Android.
I would like to support you by first making clear some misunderstanding here:

  1. dlt.conf is the config file read by dlt-daemon, hence for LoggingMode = 2 and LoggingFilename = <your_path>, dlt-daemon will buffer internal logs into this path (note that this is internal logs, not logs from android logd)
  2. dlt-logd-converter is actually a dlt-user (if you consider the overview DLT diagram) which makes use of Android API to buffer logs from LogD Android buffer and formats them in dlt log message format, then this so-called dlt-user will make use of dlt user lib (using MACRO DLT_LOG_TS) to buffer formatted dlt logs to dlt-daemon.
  3. Now, back to your final question: How can I access the content generated by DLT-Logd-Converter after it has been executed?
    dlt-daemon is holding logs in it ring buffer, you could use dlt-client connecting to other end of dlt-daemon to extract logs: dlt-receive, dlt offline trace feature, dlt offline logstorage, etc. For the easiest case, you could use $ dlt-receive -a <IP/localhost> to get the logs.

To summerize, you could test dlt-logd-converter by following these steps:
$ dlt-daemon
$ dlt-logd-converter
$ dlt-receive -a <IP/localhost>

Now you could observe logs from Android native application in dlt format.
Regards,
DLT team

from dlt-daemon.

Related Issues (20)

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.