summaryrefslogtreecommitdiffstats
path: root/liblog/README
Commit message (Collapse)AuthorAgeFilesLines
* liblog: Instrument logging of logd write dropsMark Salyzyn2015-03-041-0/+27
| | | | | | | | | | | | | - If logger system is prostrated, send an event message with the liblog tag from the associated UID and PID with a count of dropped messages once logging is resumed. - Added to the README a description of the error return values. - Describe in the README the appropriate mitigations for dropped messages. - If the caller sees this message, then /proc/sys/net/unix/max_dgram_qlen is likely too small Change-Id: Iaf387b9e5e1b6aa93bebc7481f9e8353732e3229
* liblog: add pstore readMark Salyzyn2015-02-261-1/+5
| | | | | | | | | | | Used to pull the Android log messages after a reboot. Adding an ANDROID_LOG_PSTORE flag to the mode parameter in calls to android_logger_list_alloc() and android_logger_list_alloc_time(). The side effects are that android_logger_clear() and android_logger_list_read() will react with the user space pstore driver. Forms a companion to the pstore console logs. Change-Id: I7bb07b87b3bf73f059a21af3f810af37c7715b6d
* liblog: introduce ANDROID_LOG_* flagsMark Salyzyn2015-02-251-6/+7
| | | | | | | | Move away from using POSIX open(2) flags and introduce ANDROID_LOG_* flags to replace them. Add security by preventing random mode flags from getting into underlying POSIX calls. ANDROID_LOG_* flags overlap POSIX O_* flag definitions. Change-Id: Ib32bb64c287e8bf150be62242e1ba46bb37839fc
* liblog: Add READMEMark Salyzyn2014-01-271-0/+134
(cherry picked from commit 912c88cc5abde3fb7e09a810491c3285b3bd4a64) Change-Id: I9d789e08e9301ec8afa7be8bede955379694b904