Comments (2)
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.
Hello @Krocar,
Thanks for raising your concern about DLT on Android.
I would like to support you by first making clear some misunderstanding here:
- 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)
- 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.
- 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)
- dlt-daemon 2.18.10 the gzip log file is empty. HOT 6
- dlt_logstorage_check_write_ret: Cannot sync cache to log file
- DLT Receiver rename error and possible file loss HOT 3
- dlt-receive inconsistency between console payload and output file HOT 7
- The dlt offline storage did not work when the DLTConnectionType is DLT_CONNECTION_CLIENT_MSG_TCP HOT 2
- How to send a sync_log_storage request and wait for a response HOT 2
- How do I compile a library to run on the android platform? HOT 1
- unit test error : linker command failed with exit code 1 HOT 2
- Contribute to DLT Daemon HOT 5
- NULL byte overflow in dlt_message_argument_print
- ENXIO Error When Opening Host FIFO File from Docker Container HOT 1
- Do FreeRTOS supports DLT Logging HOT 2
- QNX系统中,多个dlt.gz文件导出来之后,出现几个文件无法解压的问题 HOT 16
- heap-buffer-overflow in dlt_client_connect
- DLT-Multinode: Gateway does not recognize reset of passive node
- Message is lost in dlt-daemon.
- The log level of individual CTIDs cannot be modified through dlt control HOT 10
- How to run DLT by init.rc automatically on Android HOT 2
- All stored logs are the same log, with the same timestamp and content HOT 5
- Trace budgeting mechanism HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dlt-daemon.