From 7d2f4d7bd282fae3a073ef18cc508e39fda57450 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 27 Jan 2022 15:34:43 +0100 Subject: [PATCH 1/2] update log message --- src/pip/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pip/index.js b/src/pip/index.js index d218e29..4f67245 100644 --- a/src/pip/index.js +++ b/src/pip/index.js @@ -56,7 +56,7 @@ module.exports.create = function createPIPService(datapath, layers, localizedAdm }); }, function end() { - logger.info('PIP Service Loading Completed!!!'); + logger.info('all layers loaded'); callback(null, { end: killAllWorkers, From fb4f76ee6bcc7da29c7527b059eae09c34578a59 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 27 Jan 2022 15:35:21 +0100 Subject: [PATCH 2/2] update log message --- test/pip/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pip/index.js b/test/pip/index.js index b35088b..dcc4af5 100644 --- a/test/pip/index.js +++ b/test/pip/index.js @@ -812,7 +812,7 @@ tape('PiP tests', test => { t.ok(logger.isInfoMessage(/marinearea worker loaded 0 features in \d+\.\d+ seconds/)); t.ok(logger.isInfoMessage(/ocean worker loaded 0 features in \d+\.\d+ seconds/)); - t.equals(logger.getInfoMessages().pop(), 'PIP Service Loading Completed!!!'); + t.equals(logger.getInfoMessages().pop(), 'all layers loaded'); service.end(); config.unset();