The logging module now contains a local copy of cfg too.