# HG changeset patch # User RhodeCode Admin # Date 2023-03-27 19:47:18 # Node ID 4ec92282a592bf47671fb0f1a2b118bf341c757a # Parent 9879b495754202176e61626ff395a8d5765169c4 logging: removed log.warning calls diff --git a/rhodecode/authentication/registry.py b/rhodecode/authentication/registry.py --- a/rhodecode/authentication/registry.py +++ b/rhodecode/authentication/registry.py @@ -96,7 +96,7 @@ class AuthenticationPluginRegistry(objec # Add the fallback plugin from ini file. if fallback_plugin: - log.warn( + log.warning( 'Using fallback authentication plugin from INI file: "%s"', fallback_plugin) plugin = self.get_plugin(fallback_plugin) diff --git a/rhodecode/authentication/routes.py b/rhodecode/authentication/routes.py --- a/rhodecode/authentication/routes.py +++ b/rhodecode/authentication/routes.py @@ -132,9 +132,9 @@ class AuthnRootResource(AuthnResourceBas # Allow plugin resources with identical names by rename duplicates. unique_name = _ensure_unique_name(resource.__name__) if unique_name != resource.__name__: - log.warn('Name collision for traversal resource "%s" registered ' - 'by authentication plugin "%s"', resource.__name__, - plugin_id) + log.warning('Name collision for traversal resource "%s" registered ' + 'by authentication plugin "%s"', resource.__name__, + plugin_id) resource.__name__ = unique_name log.debug('Register traversal resource "%s" for plugin "%s"',