aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/import_export/KeyUploadDialog.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/dialog/import_export/KeyUploadDialog.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/dialog/import_export/KeyUploadDialog.cpp')
-rw-r--r--src/ui/dialog/import_export/KeyUploadDialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/dialog/import_export/KeyUploadDialog.cpp b/src/ui/dialog/import_export/KeyUploadDialog.cpp
index d8d2515e..5e05da2d 100644
--- a/src/ui/dialog/import_export/KeyUploadDialog.cpp
+++ b/src/ui/dialog/import_export/KeyUploadDialog.cpp
@@ -86,8 +86,8 @@ void KeyUploadDialog::slot_upload_key_to_server(
target_keyserver =
key_server_list[default_key_server_index].get<std::string>();
- SPDLOG_INFO("set target key server to default key server: {}",
- target_keyserver);
+ SPDLOG_DEBUG("set target key server to default key server: {}",
+ target_keyserver);
} catch (...) {
SPDLOG_ERROR(_("Cannot read default_keyserver From Settings"));
@@ -137,11 +137,11 @@ void KeyUploadDialog::slot_upload_finished() {
auto* reply = qobject_cast<QNetworkReply*>(sender());
QByteArray response = reply->readAll();
- SPDLOG_INFO("response: {}", response.toStdString());
+ SPDLOG_DEBUG("response: {}", response.toStdString());
auto error = reply->error();
if (error != QNetworkReply::NoError) {
- SPDLOG_INFO("error from reply: {}", reply->errorString().toStdString());
+ SPDLOG_DEBUG("error from reply: {}", reply->errorString().toStdString());
QString message;
switch (error) {
case QNetworkReply::ContentNotFoundError:
@@ -161,7 +161,7 @@ void KeyUploadDialog::slot_upload_finished() {
} else {
QMessageBox::information(this, _("Upload Success"),
_("Upload Public Key Successfully"));
- SPDLOG_INFO("success while contacting keyserver!");
+ SPDLOG_DEBUG("success while contacting keyserver!");
}
reply->deleteLater();
}