Skip to content

Commit e3348ee

Browse files
mgr/cephadm: do not log unexpected uri scheme at warning level
Change the warning level for the unexpected uri scheme detected log event when determining caps based off of the uri. The log gets triggered by `rados:mon-config-key:*` type uris and those are common now so the warning is just noise. Signed-off-by: John Mulligan <[email protected]>
1 parent 855faf1 commit e3348ee

File tree

1 file changed

+1
-1
lines changed
  • src/pybind/mgr/cephadm/services

1 file changed

+1
-1
lines changed

src/pybind/mgr/cephadm/services/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _allow_config_key_command(self, name: str) -> str:
172172

173173
def _pool_caps_from_uri(self, uri: str) -> List[str]:
174174
if not uri.startswith('rados://'):
175-
logger.warning("ignoring unexpected uri scheme: %r", uri)
175+
logger.debug("ignoring unexpected uri scheme: %r", uri)
176176
return []
177177
part = uri[8:].rstrip('/')
178178
if part.count('/') > 1:

0 commit comments

Comments
 (0)