From 6b752b362bd9a181b575a64f4daabd220922bbeb Mon Sep 17 00:00:00 2001 From: Randall Meyer Date: Fri, 30 Oct 2020 12:54:26 -0700 Subject: [PATCH] s3_auth: demote noisy errors around configuration that doesn't affect plugin usability --- plugins/s3_auth/s3_auth.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/s3_auth/s3_auth.cc b/plugins/s3_auth/s3_auth.cc index 426140650ac..696fcab279d 100644 --- a/plugins/s3_auth/s3_auth.cc +++ b/plugins/s3_auth/s3_auth.cc @@ -188,16 +188,16 @@ class S3Config /* Optional parameters, issue warning if v2 parameters are used with v4 and vice-versa (wrong parameters are ignored anyways) */ if (2 == _version) { if (_v4includeHeaders_modified && !_v4includeHeaders.empty()) { - TSError("[%s] headers are not being signed with AWS auth v2, included headers parameter ignored", PLUGIN_NAME); + TSDebug("[%s] headers are not being signed with AWS auth v2, included headers parameter ignored", PLUGIN_NAME); } if (_v4excludeHeaders_modified && !_v4excludeHeaders.empty()) { - TSError("[%s] headers are not being signed with AWS auth v2, excluded headers parameter ignored", PLUGIN_NAME); + TSDebug("[%s] headers are not being signed with AWS auth v2, excluded headers parameter ignored", PLUGIN_NAME); } if (_region_map_modified && !_region_map.empty()) { - TSError("[%s] region map is not used with AWS auth v2, parameter ignored", PLUGIN_NAME); + TSDebug("[%s] region map is not used with AWS auth v2, parameter ignored", PLUGIN_NAME); } if (nullptr != _token || _token_len > 0) { - TSError("[%s] session token support with AWS auth v2 is not implemented, parameter ignored", PLUGIN_NAME); + TSDebug("[%s] session token support with AWS auth v2 is not implemented, parameter ignored", PLUGIN_NAME); } } else { /* 4 == _version */