about summary refs log tree commit diff
path: root/streaming
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2021-05-01 23:19:18 +0200
committerGitHub <noreply@github.com>2021-05-01 23:19:18 +0200
commitaafe65a14254d27e11a5d61a97314869bcc80fea (patch)
treebf6b43c22d29b8267efbc6f846e65f3871b379ba /streaming
parentf627d2eb938d220eb767b0211b66b4281c921f75 (diff)
Change log level of worker start/end to warn in streaming API (#16110)
Diffstat (limited to 'streaming')
-rw-r--r--streaming/index.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/streaming/index.js b/streaming/index.js
index c50d35583..0af80daad 100644
--- a/streaming/index.js
+++ b/streaming/index.js
@@ -99,11 +99,11 @@ const startMaster = () => {
     log.warn('UNIX domain socket is now supported by using SOCKET. Please migrate from PORT hack.');
   }
 
-  log.info(`Starting streaming API server master with ${numWorkers} workers`);
+  log.warn(`Starting streaming API server master with ${numWorkers} workers`);
 };
 
 const startWorker = (workerId) => {
-  log.info(`Starting worker ${workerId}`);
+  log.warn(`Starting worker ${workerId}`);
 
   const pgConfigs = {
     development: {
@@ -1067,11 +1067,11 @@ const startWorker = (workerId) => {
   }, 30000);
 
   attachServerWithConfig(server, address => {
-    log.info(`Worker ${workerId} now listening on ${address}`);
+    log.warn(`Worker ${workerId} now listening on ${address}`);
   });
 
   const onExit = () => {
-    log.info(`Worker ${workerId} exiting, bye bye`);
+    log.warn(`Worker ${workerId} exiting`);
     server.close();
     process.exit(0);
   };