summaryrefslogtreecommitdiff
path: root/src/envsecurity.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-04-17 09:30:16 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2020-04-17 09:30:16 -0400
commitd49f038d5dc813796f8ae4e6ac1631e09bf06bf3 (patch)
tree53ff0f009348f1df6a09385551a603fdbb7acd94 /src/envsecurity.cpp
parent77d292727b06841f07b4b3bc449655faff5f5d19 (diff)
silenced a few annoying logs
Diffstat (limited to 'src/envsecurity.cpp')
-rw-r--r--src/envsecurity.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/envsecurity.cpp b/src/envsecurity.cpp
index 6f4826e7..3060e6f5 100644
--- a/src/envsecurity.cpp
+++ b/src/envsecurity.cpp
@@ -108,7 +108,8 @@ private:
&rawService);
if (FAILED(res) || !rawService) {
- log::error(
+ // don't log as error, seems to happen often for some people
+ log::debug(
"locator->ConnectServer() failed for namespace '{}', {}",
ns, formatSystemMessage(res));
@@ -392,7 +393,8 @@ std::optional<SecurityProduct> getWindowsFirewall()
// testing for both because it's not clear which it is and nobody can
// reproduce it
if (hr != EPT_S_NOT_REGISTERED && hr != 0x800706d9) {
- log::error("get_FirewallEnabled failed, {}", formatSystemMessage(hr));
+ // don't log as error
+ log::debug("get_FirewallEnabled failed, {}", formatSystemMessage(hr));
}
return {};