Lower Service tag DNS warning to DEBUG for #2019

This commit is contained in:
Brian Shumate 2016-10-05 08:45:01 -04:00
parent 4053bd3dea
commit 36e1a194c2
No known key found for this signature in database
GPG key ID: B2E211633F870928

View file

@ -824,7 +824,7 @@ func (a *Agent) AddService(service *structs.NodeService, chkTypes CheckTypes, pe
// Warn if any tags are incompatible with DNS
for _, tag := range service.Tags {
if !dnsNameRe.MatchString(tag) {
a.logger.Printf("[WARN] Service tag %q will not be discoverable "+
a.logger.Printf("[DEBUG] Service tag %q will not be discoverable "+
"via DNS due to invalid characters. Valid characters include "+
"all alpha-numerics and dashes.", tag)
}