From 30c728fae23ee66f3c1612736bb0c300f0b0762d Mon Sep 17 00:00:00 2001 From: peakyDicers Date: Mon, 2 Aug 2021 17:10:05 -0400 Subject: [PATCH] Removed fire emoji prefix for firewall logs. Change-type: patch --- src/lib/firewall.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/lib/firewall.ts b/src/lib/firewall.ts index 550d6c0b..467ab444 100644 --- a/src/lib/firewall.ts +++ b/src/lib/firewall.ts @@ -21,7 +21,6 @@ export const initialised = (async () => { })(); const BALENA_FIREWALL_CHAIN = 'BALENA-FIREWALL'; -const LOG_PREFIX = '🔥'; const prepareChain: iptables.Rule[] = [ { @@ -155,7 +154,7 @@ export async function applyFirewallMode(mode: string) { mode = 'off'; } - log.info(`${LOG_PREFIX} Applying firewall mode: ${mode}`); + log.info(`Applying firewall mode: ${mode}`); try { // are we running services in host-network mode? @@ -206,10 +205,10 @@ export async function applyFirewallMode(mode: string) { .apply(ruleAdaptor); // all done! - log.success(`${LOG_PREFIX} Firewall mode applied`); + log.success(`Firewall mode applied`); } catch (err) { - logSystemMessage(`${LOG_PREFIX} Firewall mode not applied due to error`); - log.error(`${LOG_PREFIX} Firewall mode not applied`); + logSystemMessage(`Firewall mode not applied due to error`); + log.error(`Firewall mode not applied`); log.error('Error applying firewall mode', err); if (err instanceof iptables.IPTablesRuleError) {