author | Elliott Hughes <enh@google.com> | |
Mon, 21 Jul 2014 23:35:24 +0000 (16:35 -0700) | ||
committer | Elliott Hughes <enh@google.com> | |
Tue, 22 Jul 2014 01:55:04 +0000 (18:55 -0700) | ||
commit | b76613627d045acd3bdb7294f424f14c21584872 | |
tree | 04a76c36deaee21a9467989eee5132234edc3888 | tree | snapshot (tar.xz tar.gz zip) |
parent | ed68221a8225a6696d2b0b1607ef0b2de1c1b3aa | commit | diff |
Rewrite syslog(3) to use Android logging.
Since we don't have syslogd on Android and you can't run one on a non-rooted
device, it's more useful if syslog output just goes to the regular Android
logging system.
Bug: 14292866
(cherry picked from commit 3ad8ecb64e9dd5614169232b84a93eb3b8aa32d7)
Change-Id: I3038855ca4f22532bf6d2c45d3f8028b866975f9
Since we don't have syslogd on Android and you can't run one on a non-rooted
device, it's more useful if syslog output just goes to the regular Android
logging system.
Bug: 14292866
(cherry picked from commit 3ad8ecb64e9dd5614169232b84a93eb3b8aa32d7)
Change-Id: I3038855ca4f22532bf6d2c45d3f8028b866975f9
HACKING.txt | diff | blob | history | |
libc/Android.mk | diff | blob | history | |
libc/bionic/libc_logging.cpp | diff | blob | history | |
libc/bionic/syslog.cpp | [new file with mode: 0644] | blob |
libc/include/syslog.h | diff | blob | history | |
libc/unistd/syslog.c | [deleted file] | blob | history |
tests/libc_logging_test.cpp | diff | blob | history |