History log of /system/core/libcutils/klog.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e04c3b05339dd48e050cfc7ad9f9460e259e3797 14-Jan-2017 Elliott Hughes <enh@google.com> Remove unused klog_get_level.

Every little helps...

Bug: N/A
Test: builds
Change-Id: Ibcac5cda1619420c95903211ed0b96af81351f9e
/system/core/libcutils/klog.cpp
677ba31db20d214ffb83e0102a9b78d811b5bf68 13-Jan-2017 Wei Wang <wvw@google.com> libcutils: change klog_level to KLOG_INFO_LEVEL

Some of Android componets e.g. init have migrated to use base/logging to get rid
of klog utilities. However, without explicit initilization, the default
klog_level is set to 3 which masks the logwrap output.
This patch sets default klog_level to KLOG_INFO_LEVEL to make
android_fork_execvp_ext log available.

Bug: 34256270
Test: manual
Change-Id: Ibe74707a92c954053cd0e6828a984fbd72b4acae
/system/core/libcutils/klog.cpp
52bd37e63373b410c009e8611508191dfbf31d30 07-Nov-2016 Mark Salyzyn <salyzyn@google.com> libcutils: move cutils/files.h to cutils/android_get_control_file.h

files.[h|cpp] is bound to be abused with junk, replace with
android_get_control_file.[h|cpp]. Plus some sundry cleanup.

Test: gTest libcutils-tests, logd-unit-tests, liblog-unit-tests,
logcat-unit-tests and init_tests
Bug: 32450474
Change-Id: Ibd4a7aa4624ea19a43d1f98a3c71ac37805d36b5
/system/core/libcutils/klog.cpp
c377843258d08d31a2eb7df1a577740e588d2761 27-Oct-2016 Mark Salyzyn <salyzyn@google.com> libcutils: klog inherit android_get_control_file("/dev/kmsg")

If the file descriptor is in the environment, use it.

Test: compile
Bug: 32450474
Change-Id: Id208b11b727a44dc861a141130a644d7d8009c5f
/system/core/libcutils/klog.cpp
35f5d04620a3221b9f57194ab0239c7c7ba5a726 26-Jul-2016 Elliott Hughes <enh@google.com> Fix early init logging.

Remove the /dev/__kmsg__ workarounds (which can then be removed
from sepolicy), and fix confusion in the translation between
android-base logging and kernel logging priorities (in particular,
where 'notice' comes in the hierarchy).

Bug: http://b/30317429
Change-Id: I6eaf9919904b6b55bc402c20bf1a4ae269014bc7
Test: adb shell dmesg | grep init
/system/core/libcutils/klog.cpp
489e3fbaa02f43b198e3962076529f506766b590 19-Jul-2016 Elliott Hughes <enh@google.com> Remove no-op klog_init.

Change-Id: I467edad1d004ac16647f4aa1f0eead04e808efa0
/system/core/libcutils/klog.cpp
171a829c39d9298432505fe943ad7128aeefe2b2 30-Jun-2016 Elliott Hughes <enh@google.com> Make klog_fd thread-safe and make klog_init a no-op.

I'll come back and remove klog_init when I've removed other calls to it.

Change-Id: Iad7fd26d853b4ddc54e9abd44516b6f138cbbfcb
Test: booted N9, looked at "adb shell dmesg" output.
/system/core/libcutils/klog.cpp