From 59e26f6e60f552f2e494c129a17f9fec0f035c80 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 22 Mar 2019 18:45:56 +0100 Subject: [PATCH] build: do not run dgeni with "info" log level. (#15512) With Bazel it's uncommon to print anything except failures. Currently the Dgeni logic that runs as part of our Bazel build is the only action that prints something for a successful build. In order to make our Bazel output clean, we lower the log level. For debugging, it's still easy to modify the log-level. --- tools/dgeni/docs-package.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/dgeni/docs-package.ts b/tools/dgeni/docs-package.ts index dc4120ee627..c95c3072202 100644 --- a/tools/dgeni/docs-package.ts +++ b/tools/dgeni/docs-package.ts @@ -51,7 +51,7 @@ apiDocsPackage.processor(new EntryPointGrouper()); // Configure the log level of the API docs dgeni package. apiDocsPackage.config(function(log: any) { - return log.level = 'info'; + return log.level = 'warning'; }); // Configure the processor for reading files from the file system.