Ticket #394 (closed Task: fixed)

Opened 4 years ago

Last modified 3 years ago

change system logger

Reported by: bryan Owned by: bryan
Priority: critical Milestone: V1.0 CMIP5 Questionnaire Release
Component: WP6 - CMIP5 Questionnaire Version:
Keywords: Cc:
Requirement: http://metaforclimate.eu/Work-Package-2/Developing-the-CIM/Project-Requirements-summary.htm

Description (last modified by bryan) (diff)

Phil recommends we replace import logging in all modules with

import logging
log=logging.getLogger(__name__)

This seems like a good idea.

Alternatively, I could create a class for my logger in some utility file and import that everywhere, and it could have an arbitrary name of use to me ... but it wouldn't distinguish the subfile ...

Change History

comment:1 Changed 4 years ago by bryan

  • Status changed from new to assigned

or I could modify the settings.py and use a keyword ... we'll try that first ...

comment:2 Changed 4 years ago by bryan

  • Priority changed from minor to critical
  • Description modified (diff)

comment:3 Changed 3 years ago by bryan

fixed in changeset:1374

comment:4 Changed 3 years ago by bryan

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.