summaryrefslogtreecommitdiffstats
path: root/logd/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* set /proc/sys/net/unix/max_dgram_qlen to large valueMark Salyzyn2014-03-031-1/+2
| | | | | | | | - init: set /proc/sys/net/unix/max_dgram_qlen to 300 - libsysutils: Add listen backlog argument to startListener - logd: set listen backlog to 300 Change-Id: Id6d37d6c937ba2d221e76258d89c9516619caeec
* logd: Add SCHED_BATCH to reduce priorityMark Salyzyn2014-02-261-0/+8
| | | | | | (cherry picked from commit 85620a1bfff1824687fd1cb14c8e1a9b2683c061) Change-Id: Id25cdef0dd7f8c5e154a0da2db2dd0554849babc
* logd: initial checkin.Mark Salyzyn2014-02-261-0/+115
* Create a new userspace log daemon for handling logging messages. Original-Change-Id: I75267df16359684490121e6c31cca48614d79856 Signed-off-by: Nick Kralevich <nnk@google.com> * Merge conflicts * rename new syslog daemon to logd to prevent confusion with bionic syslog * replace racy getGroups call with KISS call to client->getGid() * Timestamps are filed at logging source * insert entries into list in timestamp order * Added LogTimeEntry tail filtration handling * Added region locking around LogWriter list * separate threads for each writer * /dev/socket/logd* permissions Signed-off-by: Mark Salyzyn <salyzyn@google.com> (cherry picked from commit 3e76e0a49760c4970b7cda6153e51026af98e4f3) Author: Nick Kralevich <nnk@google.com> Change-Id: Ice88b1412d8f9daa7f9119b2b5aaf684a5e28098