aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-03-05 09:18:23 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-03-05 09:18:23 +0100
commitbf41a8d48a1cb0e13e3d0b387c7d15b6eea68ddf (patch)
treecb856e5a632c69a2ff9016105f4c7f4fab444570
parente104b54bf0b48fae9b2d5002f86bf6de39aa0770 (diff)
always use severity 'warning', not just 'warn'
-rw-r--r--collect-wireless-mac.capsman2
-rw-r--r--collect-wireless-mac.local2
-rw-r--r--collect-wireless-mac.template2
-rw-r--r--global-functions4
4 files changed, 5 insertions, 5 deletions
diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman
index 771a332..95e46a2 100644
--- a/collect-wireless-mac.capsman
+++ b/collect-wireless-mac.capsman
@@ -17,7 +17,7 @@ $ScriptLock "collect-wireless-mac.capsman";
:if ([ / caps-man access-list print count-only where comment="--- collected above ---" disabled ] = 0) do={
/ caps-man access-list add comment="--- collected above ---" disabled=yes;
- $LogPrintExit warn "Added disabled access-list entry with comment '--- collected above ---'." false;
+ $LogPrintExit warning "Added disabled access-list entry with comment '--- collected above ---'." false;
}
:local PlaceBefore [ / caps-man access-list find where comment="--- collected above ---" disabled ];
diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local
index 3895ebb..8b5d5ac 100644
--- a/collect-wireless-mac.local
+++ b/collect-wireless-mac.local
@@ -17,7 +17,7 @@ $ScriptLock "collect-wireless-mac.local";
:if ([ / interface wireless access-list print count-only where comment="--- collected above ---" disabled ] = 0) do={
/ interface wireless access-list add comment="--- collected above ---" disabled=yes;
- $LogPrintExit warn "Added disabled access-list entry with comment '--- collected above ---'." false;
+ $LogPrintExit warning "Added disabled access-list entry with comment '--- collected above ---'." false;
}
:local PlaceBefore [ / interface wireless access-list find where comment="--- collected above ---" disabled ];
diff --git a/collect-wireless-mac.template b/collect-wireless-mac.template
index 199b021..510afcc 100644
--- a/collect-wireless-mac.template
+++ b/collect-wireless-mac.template
@@ -18,7 +18,7 @@ $ScriptLock "collect-wireless-mac%TEMPL%";
:if ([ / %PATH% access-list print count-only where comment="--- collected above ---" disabled ] = 0) do={
/ %PATH% access-list add comment="--- collected above ---" disabled=yes;
- $LogPrintExit warn "Added disabled access-list entry with comment '--- collected above ---'." false;
+ $LogPrintExit warning "Added disabled access-list entry with comment '--- collected above ---'." false;
}
:local PlaceBefore [ / %PATH% access-list find where comment="--- collected above ---" disabled ];
diff --git a/global-functions b/global-functions
index 23283f1..b9f3cc4 100644
--- a/global-functions
+++ b/global-functions
@@ -49,7 +49,7 @@
:if ([ / system resource get free-hdd-space ] < 8388608 && \
[ / certificate settings get crl-download ] = true && \
[ / certificate settings get crl-store ] = "system") do={
- :log warn "This system has low free flash space but is configured to download certificate CRLs to system!";
+ :log warning "This system has low free flash space but is configured to download certificate CRLs to system!";
}
:if ([ / certificate print count-only where common-name=$CommonName ] = 0) do={
@@ -299,7 +299,7 @@
:local MailHost $MailServer;
:if ([ / tool netwatch print count-only where comment=$MailServer ] = 0) do={
- :log warn ("Adding netwatch entry for mail server.");
+ :log warning ("Adding netwatch entry for mail server.");
:local MailHost $MailServer;
:if ([ :typeof [ :toip $MailHost ] ] != "ip" ) do={
:set MailHost [ :resolve $MailServer ];