DOC: Updated examples in doc strings not to import deprecated log module.