From 90b1ff6b6cd0f629ceae9f34106e20d0dd764693 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Tue, 1 Oct 2019 15:48:52 +0200 Subject: [PATCH] TT#63758 Add new function 'log_warn_n' for 'ngcpcfg push-parallel' Change-Id: I83421c788e49739f81ea1969fbaccc812bf25641 --- functions/logs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions/logs b/functions/logs index 71f53dd0..7b71a5e9 100644 --- a/functions/logs +++ b/functions/logs @@ -37,6 +37,11 @@ log_warn() { console_output "Warning: $*\n" } +log_warn_n() { + logger -t ngcpcfg --id="${NGCPCFG_PID}" -- "Warning: $*" + console_output "Warning: $*" +} + log_error() { logger -t ngcpcfg --id="${NGCPCFG_PID}" -- "Error: $*" console_output "Error: $*\n" >&2