import logging
from .defaults import *  # noqa

try:
    from .local import *  # noqa
except ImportError as error:
    logging.warn('No local.py settings file found')

import logging
from .defaults import *  # noqa

logger = logging.getLogger(__name__)

try:
    from .local import *  # noqa
except ImportError as error:
    logger.warn('No local.py settings file found')

Use namespaces logger in mendeley settings
Use namespaces logger in mendeley settings

h/t Arpita for catching this

[skip ci]

  import logging
  from .defaults import *  # noqa
+ 
+ logger = logging.getLogger(__name__)
  
  try:
      from .local import *  # noqa
  except ImportError as error:
-     logging.warn('No local.py settings file found')
+     logger.warn('No local.py settings file found')
  
Use namespaces logger in mendeley settings
## Code Before:
import logging
from .defaults import *  # noqa

try:
    from .local import *  # noqa
except ImportError as error:
    logging.warn('No local.py settings file found')

## Instruction:
Use namespaces logger in mendeley settings
## Code After:
import logging
from .defaults import *  # noqa

logger = logging.getLogger(__name__)

try:
    from .local import *  # noqa
except ImportError as error:
    logger.warn('No local.py settings file found')
