History log of /system/core/logwrapper/logwrapper.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
30f991f251940be3ed11566fb71139852286f68a 10-Jan-2017 Mark Salyzyn <salyzyn@google.com> liblog: use log/log.h when utilizing ALOG macros

Test: compile
Bug: 30465923
Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
/system/core/logwrapper/logwrapper.c
66ce3e08c5632a20ea66bde6dd76397041edf034 28-Sep-2016 Mark Salyzyn <salyzyn@google.com> system/core Replace cutils/log.h with android/log.h

Should use android/log.h instead of cutils/log.h as a good example
to all others. Adjust header order to comply with Android Coding
standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
/system/core/logwrapper/logwrapper.c
d81c3c6c45e572365127b73594c0ccf0b7f86f17 14-Aug-2015 Yusuke Sato <yusukes@google.com> Add |opts| argument to android_fork_execvp_ext

to allow the caller to send data to the child's stdin.

Bug: 21725996
Change-Id: I818f5cf61045286c8d64a91b6d50f05740329be1
/system/core/logwrapper/logwrapper.c
ccecf1425412beb2bc3bb38d470293fdc244d6f1 16-Jan-2014 Elliott Hughes <enh@google.com> system/core 64-bit cleanup.

This cleans up most of the size-related problems in system/core.
There are still a few changes needed for a clean 64-bit build,
but they look like they might require changes to things like the
fastboot protocol.

Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0
/system/core/logwrapper/logwrapper.c
5605cdade8dc8512c54f73863712b62582e6aaf4 21-Nov-2013 William Roberts <wroberts@tresys.com> logwrapper: fix missing include

Use of ECHILD with no definitive errno.h inclusion.

Explicitly listing the errno.h header file rather
then relying on the inclusion chain to do so.

Change-Id: I5552acd928d17fc62192217a30ff2e4fab0b1936
/system/core/logwrapper/logwrapper.c
4eaf905858c6a1d7cf0639bed3e8de3bd7987646 19-Sep-2013 Ken Sumrall <ksumrall@android.com> Create a separate copy of the fsck logs

The log_target parameter of android_fork_execvp_ext() is now a
bit field, and multiple targets can be set to log to multiple
places at the same time.

The new target LOG_FILE will log to a file specified by the new
parameter file_path.

Set LOG_FILE and log to a file in /dev (the only writable filesystem
avilable when e2fsck runs) when invoking e2fsck in fs_mgr.

Bug: 10021342

Change-Id: I63baf644cc8c3afccc8345df27a74203b44d0400
/system/core/logwrapper/logwrapper.c
96e11b5bc473918d61b088f1840e4d1ec48fd3ab 03-Apr-2013 Ken Sumrall <ksumrall@android.com> logwrapper: Add ability to log to kernel log

Also add ability to do abbreviated logging where only the first
4K bytes and last 4K bytes of output are added to the desginated log.

Also update standalog logwrapper command to support the new options.

Change-Id: Ia49cbe58479b9f9ed077498d6852e20b21287bad
/system/core/logwrapper/logwrapper.c
2a46bfa6b9401b847a3c0609e247428564d91121 29-Jan-2013 Rom Lemarchand <romlem@google.com> logwrapper: rename logwrap() to android_fork_execvp()

Also change the quiet flag to a logwrap flag (inverses the meaning of
the boolean).

Change-Id: I76047a7b460f4c28d52f26bfe3f65889d96047f8
/system/core/logwrapper/logwrapper.c
f5200c075098a6fb6a69ac4e2baa2fdd3809cbbd 24-Jan-2013 Rom Lemarchand <romlem@google.com> logwrap: add quiet flag to logwrap()

Add a quiet flag to the logwrap function that prevents messages from
getting logged.

Change-Id: Ic56c011fb608babae32b03900b955833a6bdd070
/system/core/logwrapper/logwrapper.c
75c289aab9b81dc2235680cf141a4b183ee49391 09-Jan-2013 Rom Lemarchand <romlem@google.com> logwrap: wait for child process when receiving SIGINT or SIGQUIT

- Wait for the child to exit before propagating SIGINT and SIGQUIT
to the parent
- Add ignore_int_quit argument to logwrap() that gives the caller the
option to ignore SIGINT and SIGQUIT while logwrap is running

Change-Id: If5c96cf23094917211310f00aa6aed515f110f5b
/system/core/logwrapper/logwrapper.c
611f5b4b938f2ffcf2a2e71a847e4fd12587ca4b 14-Jan-2013 Rom Lemarchand <romlem@google.com> logwrap: fix off by 1 argument error

Fix off by 1 argument parsing error in liblogwrap.

Change-Id: I79832ae338a71c445f9f616d780c577826874386
/system/core/logwrapper/logwrapper.c
113bd47d619fa36eb5017cbf2c1b6fe677715ed0 11-Jan-2013 Rom Lemarchand <romlem@google.com> logwrapper: split into liblogwrap and the executable itself

Abstracting the functionality of logwrapper into a library and making
use of it for the logwrapper executable.

Change-Id: I2bcf722413f3a8454c6f52137dec86c4477fb8b5
/system/core/logwrapper/logwrapper.c
b10c7b4e3daadd0e8fccade8d8064f622b509eef 05-Jan-2013 Rom Lemarchand <romlem@google.com> Revert "Remove -d option from logwrapper"

This reverts commit 4d74bcf4458c4b2c902a3d4f45afbd51f5a3be1e

Change-Id: Ibcd19400cd2589b52df2b3acaba25f02676ba9e0
/system/core/logwrapper/logwrapper.c
4d74bcf4458c4b2c902a3d4f45afbd51f5a3be1e 03-Jan-2013 Rom Lemarchand <romlem@google.com> Remove -d option from logwrapper

Removing the ability of logwrapper to die with a SIGSEGV at address
"return code from wait".

Change-Id: I563715db2b1e5e789af84190fc2ff78664d63572
/system/core/logwrapper/logwrapper.c
1f28b775cfad4cf3d9112a4ad18603b34fb84fac 19-Dec-2011 Tanguy Pruvot <tanguy.pruvot@gmail.com> logwrapper: reduce verbosity and fix usage

- no info on normal process exit (0)
- basename as tag, not the full path
- fix usage, bad "-x" parameter vs "-d" in code

Change-Id: Ife72729eaee2a366bd4226f3fbe3ba074219c974
/system/core/logwrapper/logwrapper.c
61fbcbe9761bbfdebb0b1f8147faf00cbb1c6e6a 12-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOG() to (IF_)ALOG()

Change-Id: Ifb82ae2c242becaffa3cf19e548b526e6616c2c7
/system/core/logwrapper/logwrapper.c
dd26bb3a00b95dc8448d2d35bcee52c8e1880096 14-May-2010 Nick Kralevich <nnk@google.com> Get rid of warnings when compiled with -Wformat-security

Change-Id: I2bfc6582a8198b22af08e4b8d58f532dc138cc02
/system/core/logwrapper/logwrapper.c
28a8dab590a5f2e3db4489e162858f386fbcb9e8 12-Feb-2010 christian.bejram <christian.bejram@stericsson.com> Add a printf format.

This makes sure that data sent through logwrapper
is interpreted as strings

Change-Id: Ifafa7c3a39433743250aeb76da3c4d9cce05a13f
/system/core/logwrapper/logwrapper.c
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/logwrapper/logwrapper.c
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/logwrapper/logwrapper.c
35237d135807af84bf9b0e5b8d7f8633e58db6f5 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/system/core/logwrapper/logwrapper.c
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/logwrapper/logwrapper.c