aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/VersionCheckTask.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-11 14:10:09 +0000
committerSaturneric <[email protected]>2023-02-11 14:10:09 +0000
commit6a75817c85b0d4a97cea82ad2331736cff9913cf (patch)
tree261b01c4dc55a28241694a5e292d9fc5c77b6319 /src/ui/thread/VersionCheckTask.cpp
parentfeat: upgrade qt framework to 6.3 (diff)
downloadGpgFrontend-6a75817c85b0d4a97cea82ad2331736cff9913cf.tar.gz
GpgFrontend-6a75817c85b0d4a97cea82ad2331736cff9913cf.zip
fix: reduce info level logs
Diffstat (limited to 'src/ui/thread/VersionCheckTask.cpp')
-rw-r--r--src/ui/thread/VersionCheckTask.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/thread/VersionCheckTask.cpp b/src/ui/thread/VersionCheckTask.cpp
index ebb970a8..45fe8c80 100644
--- a/src/ui/thread/VersionCheckTask.cpp
+++ b/src/ui/thread/VersionCheckTask.cpp
@@ -49,7 +49,7 @@ void VersionCheckTask::Run() {
try {
using namespace nlohmann;
- SPDLOG_INFO("current version: {}", current_version_);
+ SPDLOG_DEBUG("current version: {}", current_version_);
std::string latest_version_url =
"https://api.github.com/repos/saturneric/gpgfrontend/releases/latest";
@@ -90,7 +90,7 @@ void VersionCheckTask::slot_parse_latest_version_info() {
auto version_match = re.match(latest_version.c_str());
if (version_match.hasMatch()) {
latest_version = version_match.captured(0).toStdString();
- SPDLOG_INFO("latest version matched: {}", latest_version);
+ SPDLOG_DEBUG("latest version matched: {}", latest_version);
} else {
latest_version = current_version_;
SPDLOG_WARN("latest version unknown");
@@ -143,7 +143,7 @@ void VersionCheckTask::slot_parse_current_version_info() {
} else {
version_.current_version_found = true;
current_reply_bytes_ = current_reply_->readAll();
- SPDLOG_INFO("current version: {}", current_reply_bytes_.size());
+ SPDLOG_DEBUG("current version: {}", current_reply_bytes_.size());
auto current_reply_json =
nlohmann::json::parse(current_reply_bytes_.toStdString());
bool current_prerelease = current_reply_json["prerelease"],