History log of /system/core/liblog/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
84dcf091482b8d0f484e665915d354069a8c879b 13-Aug-2012 Jeff Sharkey <jsharkey@android.com> Collapse IMS tags into a prefix check.

Bug: 6497974
Change-Id: I7fba1a07e2552ce16131b81f30d18eb3192de7ef
ogd_write.c
44e95651dd1e07017ab85d05a542d2372dbb2baa 17-Jul-2012 Jeff Sharkey <jsharkey@android.com> Force IMS logging into radio log.

Bug: 6497974
Change-Id: I4691f287b0abdce03ff211bd5b5b0037b8818ec9
ogd_write.c
f82e74116314c4def32013495337c038f6c6ee6c 14-Jul-2011 Elliott Hughes <enh@google.com> Make a liblog.so for the host too.

Change-Id: I0317bb3b80c6555bcb1ff9f2238f32be5f7adedb

Conflicts:

liblog/Android.mk
ndroid.mk
99e7f7af84b324034af348cbb7a180848cca2ebb 02-Mar-2012 Andrew Hsieh <andrewhsieh@google.com> Added rules to build 64-bit libraries: lib64cutils.a and lib64log.a

Both libraries are needed to build four shared libraries in 64-bit
for 64-bit emulator with "-gpu on"
lib64OpenglRender.so
lib64EGL_translator.so
lib64GLES_CM_translator.so
lib64GLES_V2_translator.so

Change-Id: If57f72d4661a74f1d5e537568881f39132e0b43d
ndroid.mk
d2c8f52189f8c2a13b88a107c6495f9d83196d2d 28-Feb-2012 Andrew Hsieh <andrewhsieh@google.com> Fixed two 64-bit porting issues; Make pid/tid type consistent

1. In printf, use "%zu" for variable of type size_t
2. Print tid in %5d
3. Make type of pid/tid in AndroidLogEntry and logger_entry consistent

Change-Id: I3e3d9536ee58823f349a4734ae093d30eabe1bfe
ake_log_device.c
ogprint.c
a820a0e587b1f6be7283588b744cd33ba5723bdf 27-Oct-2011 Jeff Sharkey <jsharkey@android.com> Gracefully handle truncated log messages.

Bug: 5522726
Change-Id: I8637c7da854ec1ecb321632c45ee9bc2edc94a67
ogprint.c
e1ede1530ff21d3b8920c0cbbebb42ccff4fa22d 19-Oct-2011 Nick Kralevich <nnk@google.com> liblog: do better checks of log messages.

Testing:

The following test cases all passed and generated log entries:

# echo -n '\03foo\0bar\0' > /dev/log/main
# echo -n '\03\0bar\0' > /dev/log/main
# echo -n '\03\0a\0' > /dev/log/main

The following entries were successfully processed by
logcat but produced no log entries:

# echo -n '\03\0\0' > /dev/log/main
# echo -n '\03a\0\0' > /dev/log/main
# echo -n '\03b\0\0' > /dev/log/main

Also tested the pathological error condition:

cat /dev/urandom > /dev/log/main

which produced many "+++ LOG: malformed log entry" errors.

Bug: 5478600
Change-Id: I53bc79507242dcfc14445746c29edf47be0a90b4
ogprint.c
63f4a84104c228c74cdf132f5cef4f5184ae04bb 17-Oct-2011 Nick Kralevich <nnk@google.com> liblog: ensure that the message length is consistent

When parsing log entries which may have embedded \0s, it's
possible for entry->messageLen to not be the actual
length of the string in entry->message. Detect this condition.

Bug: 5417417
Change-Id: I712cac7696af7831e24765b5a1b345d6ff5fb407
ogprint.c
4bf3c02e026077d14a4512c7c2f71937da3c2d50 01-Oct-2011 Kenny Root <kroot@google.com> Add checking for log entry format

The log tag may be zero length if corrupted, so check for this
condition.

Change-Id: I7616226dabe78a85859b0ab53aca08f734dbdd84
ogprint.c
29e1e7393d1742f9dd5663c63026f50981e5bd89 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I2fcf31af681d92880e5d31a46d5f6777f7ca1977
ndroid.mk
7b023b293b3252feddab29b0672524a341494b9e 27-Jun-2011 Brett Chabot <brettchabot@android.com> Fix SDK build.

Revert "Fix build warnings"

This reverts commit 590e364868b6466e169f2647e95462ba2558dd00.
ake_log_device.c
ake_log_device.h
ogd_write.c
590e364868b6466e169f2647e95462ba2558dd00 24-Jun-2011 Glenn Kasten <gkasten@google.com> Fix build warnings

Change-Id: Ie24cf8e729813e4527c698fc7c1502a1efbc63e5
ake_log_device.c
ake_log_device.h
ogd_write.c
4e246965bbd124bad1c1d98c5936d13b4db0d566 16-Jul-2010 The Android Open Source Project <initial-contribution@android.com> am 64ba76c1: merge from open-source master

Merge commit '64ba76c1431afe17c1f4553f1dbc595db064316e'

* commit '64ba76c1431afe17c1f4553f1dbc595db064316e':
Fixed LOG_ASSERT() compilation errors in native debug builds.
19299904343daf191267564fe32e6cd5c165cd42 03-Jun-2010 Chris Pearson <christopherx.c.pearson@intel.com> Fixed LOG_ASSERT() compilation errors in native debug builds.

Invoking LOG_ASSERT, LOG_ALWAYS_FATAL or LOG_ALWAYS_FATAL_IF variadic macros
without the printf format string arg caused compilation errors because the
variable arg list (__VA_ARGS__) was eventually passed to
__android_log_assert() func in place of a required parameter. This error
only occured in debug builds because LOG_ASSERT() is a no-op in release
builds. This change allows debug builds to succeed.

Change-Id: I7e7b7de3e501133468ce083e0e0d6e699dd59667
Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
ogd_write.c
2a7f2ae7d4b25f89e36be04e47b9e7a3d76e0cfd 10-Apr-2010 Carl Shapiro <cshapiro@google.com> Fix a long standing bug in the output buffer size computation.

Change-Id: I55aca04fdd3822ac06db183bf2ff0cbd61f778e8
ake_log_device.c
7df6349a63b89d279131ec7dd7e6ef1b065854f5 09-Mar-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I698b3c16bdef8751cc857b00f815cb2f95465431
3b6bd0267ac8fc4ea7eb7dc676cf98d6c731da9c 03-Mar-2010 Joe Onorato <joeo@android.com> remove stray printfs.
ogd_write.c
e2bf2ea4d2846031edfc52b942ad53e5467243f6 01-Mar-2010 Joe Onorato <joeo@android.com> Make logcat print both the main and system buffers by default. Make SLOGx macros work.
ogd_write.c
ogprint.c
b45b5c9f227473050ef785d11e518e947c8754fb 11-Feb-2010 Keith Preston <keithpre@gmail.com> Fix Heap Corruption from too long of a TAG

snprintf has a weird return value. It returns what would have been written given a large enough buffer.
In the case that the prefix is longer then our buffer(128), it messes up the calculations below possibly causing heap corruption.
To avoid this we double check and set the length at the maximum (size minus null byte
ogprint.c
4b29fe640ae852c04d5d87d0f9527bdc32177ad1 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
ogd_write.c
ogprint.c
ed7ccae2968a75e09c22a3da90a9762170f96477 19-Aug-2009 John Michelau <w14107@motorola.com> Route all log tags with "RIL" prefix to radio buffer.
ogd_write.c
83eb023a09d2f5782bf9153d761cbdda4ce45b22 02-Apr-2009 Wink Saville <> Merge branch 'readonly-p4-master'
89efdc9c7f4005032dad86dd6dd220c23a7ff4d7 02-Apr-2009 Wink Saville <> AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.

Automated import of CL 144245
ogd_write.c
7bdfb165ad84986b82dce1a3fcfecf51f9f06528 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
ogd_write.c
7be77b5ba8ae21dad91019a02bc2c5d38dba081f 27-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'
f441e1e9c42f4692be61927a74f4980d0bc7320d 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/donutburger/...@140818,140818
OTICE
161b03c7ecf28b360f76007462d852574692e2dc 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/master/...@140824,140824
OTICE
3207e480716889c4fdc6937b54a229e87bb2a5f3 20-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@141571
OTICE
83b65486beffc7c86f24c428fbb7b50bbbe189f9 18-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into merge

Conflicts:
init/devices.c
libpixelflinger/Android.mk
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid.mk
vent_tag_map.c
ake_log_device.c
ogd_write.c
ogprint.c
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ndroid.mk
vent_tag_map.c
ake_log_device.c
ogd_write.c
ogprint.c
1b8e5a6b14ca850920e19b3dfae41e6494475c1a 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
ogd_write.c
439f6ca123bbc69c33dfb38e591641886bbabb57 16-Jan-2009 android-build SharedAccount <android-build@undroid16.corp.google.com> auto import from //branches/cupcake/...@126645
2eef60297a0ca1433d0824d6d662efd402709cfd 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
ogd_write.c
abb9638e3696e393d6dc45439feda91073e52103 04-Nov-2008 Alexey Tarasov <tarasov@dodologics.com> 1. added macro definitions to AndroidConfig.h
2. removed unnecessary include of <alloca.h>
ogprint.c
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ndroid.mk
vent_tag_map.c
ake_log_device.c
ogd_write.c
ogprint.c