nipype.utils.logger module

class nipype.utils.logger.Logging(config)

Bases: object

Nipype logging class

datefmt = '%y%m%d-%H:%M:%S'
disable_file_logging()
enable_file_logging()
fmt = '%(asctime)s,%(msecs)d %(name)-2s %(levelname)-2s:\n\t %(message)s'
getLevelName(name)
getLogger(name)
logdebug_dict_differences(dold, dnew, prefix='')

Helper to log what actually changed from old to new values of dictionaries.

typical use – log difference for hashed_inputs

update_logging(config)