diff options
| author | Elliott Hughes <enh@google.com> | 2018-05-23 09:16:46 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2018-05-23 10:06:20 -0700 |
| commit | 1be0d1481b26281bf699238d5699b38a52b31382 (patch) | |
| tree | abe0ba22d28d621564481ef56040e27534605a11 /init/host_init_parser.cpp | |
| parent | 9f6f8bf0dcb7f08c8c0afc1685f5d1a54b41b4cb (diff) | |
| download | system_core-1be0d1481b26281bf699238d5699b38a52b31382.tar.gz system_core-1be0d1481b26281bf699238d5699b38a52b31382.tar.bz2 system_core-1be0d1481b26281bf699238d5699b38a52b31382.zip | |
Add StdioLogger for command-line tools.
Bug: N/A
Test: ran tests
Change-Id: If366a4ea25aea1becdd3e443eba225e9bd52ebba
Diffstat (limited to 'init/host_init_parser.cpp')
| -rw-r--r-- | init/host_init_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/host_init_parser.cpp b/init/host_init_parser.cpp index 5232b7e5e..df497eade 100644 --- a/init/host_init_parser.cpp +++ b/init/host_init_parser.cpp @@ -48,7 +48,7 @@ static Result<Success> do_stub(const BuiltinArguments& args) { #include "generated_stub_builtin_function_map.h" int main(int argc, char** argv) { - android::base::InitLogging(argv, &android::base::StderrLogger); + android::base::InitLogging(argv, &android::base::StdioLogger); if (argc != 2) { LOG(ERROR) << "Usage: " << argv[0] << " <init file to parse>"; return -1; |
